Fix bug when tracefile is not aligned. Now supports exotic architectures.
[deliverable/tracecompass.git] / org.eclipse.linuxtools.ctf.core / src / org / eclipse / linuxtools / ctf / core / event / types / ArrayDeclaration.java
index 30730c7607c81dfd9b15db8bec5e74bab723cd20..84c5f599eccec24f7e223fa0fb205ec1683fe696 100644 (file)
@@ -45,6 +45,11 @@ public class ArrayDeclaration implements IDeclaration {
         return length;
     }
 
+    @Override
+    public long getAlignment() {
+        long retVal = this.getElementType().getAlignment();
+        return retVal;
+    }
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
This page took 0.025374 seconds and 5 git commands to generate.