r201454 - MS ABI: Fix some layout tests
David Majnemer
david.majnemer at gmail.com
Fri Feb 14 17:21:21 PST 2014
Author: majnemer
Date: Fri Feb 14 19:21:20 2014
New Revision: 201454
URL: http://llvm.org/viewvc/llvm-project?rev=201454&view=rev
Log:
MS ABI: Fix some layout tests
Some lines intended to be used for testing x86_64 ABI compatibility were
not firing because lines were annotated with the wrong FileCheck prefix:
X64 vs 64
Modified:
cfe/trunk/test/Layout/ms-x86-empty-virtual-base.cpp
Modified: cfe/trunk/test/Layout/ms-x86-empty-virtual-base.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Layout/ms-x86-empty-virtual-base.cpp?rev=201454&r1=201453&r2=201454&view=diff
==============================================================================
--- cfe/trunk/test/Layout/ms-x86-empty-virtual-base.cpp (original)
+++ cfe/trunk/test/Layout/ms-x86-empty-virtual-base.cpp Fri Feb 14 19:21:20 2014
@@ -132,22 +132,22 @@ struct D {
// CHECK: 32 | int a
// CHECK-NEXT: | [sizeof=40, align=8
// CHECK-NEXT: | nvsize=40, nvalign=8]
-// CHECK-64: *** Dumping AST Record Layout
-// CHECK-64: *** Dumping AST Record Layout
-// CHECK-64: *** Dumping AST Record Layout
-// CHECK-64: *** Dumping AST Record Layout
-// CHECK-64-NEXT: 0 | struct D
-// CHECK-64-NEXT: 0 | struct B0 b0 (empty)
-// CHECK-64: 8 | struct C0 c0
-// CHECK-64-NEXT: 8 | int a
-// CHECK-64: 12 | struct C1 c1
-// CHECK-64-NEXT: 12 | int a
-// CHECK-64: 16 | struct C2 c2
-// CHECK-64-NEXT: 16 | int a
-// CHECK-64: 24 | struct B1 b1 (empty)
-// CHECK-64: 32 | int a
-// CHECK-64-NEXT: | [sizeof=40, align=8
-// CHECK-64-NEXT: | nvsize=40, nvalign=8]
+// CHECK-X64: *** Dumping AST Record Layout
+// CHECK-X64: *** Dumping AST Record Layout
+// CHECK-X64: *** Dumping AST Record Layout
+// CHECK-X64: *** Dumping AST Record Layout
+// CHECK-X64-NEXT: 0 | struct D
+// CHECK-X64-NEXT: 0 | struct B0 b0 (empty)
+// CHECK-X64: 8 | struct C0 c0
+// CHECK-X64-NEXT: 8 | int a
+// CHECK-X64: 12 | struct C1 c1
+// CHECK-X64-NEXT: 12 | int a
+// CHECK-X64: 16 | struct C2 c2
+// CHECK-X64-NEXT: 16 | int a
+// CHECK-X64: 24 | struct B1 b1 (empty)
+// CHECK-X64: 32 | int a
+// CHECK-X64-NEXT: | [sizeof=40, align=8
+// CHECK-X64-NEXT: | nvsize=40, nvalign=8]
struct E : virtual B0, virtual C0, virtual C1, virtual C2, virtual B1 {
int a;
@@ -169,10 +169,6 @@ struct E : virtual B0, virtual C0, virtu
// CHECK-NEXT: | [sizeof=24, align=8
// CHECK-NEXT: | nvsize=8, nvalign=8]
// CHECK-X64: *** Dumping AST Record Layout
-// CHECK-X64: *** Dumping AST Record Layout
-// CHECK-X64: *** Dumping AST Record Layout
-// CHECK-X64: *** Dumping AST Record Layout
-// CHECK-X64: *** Dumping AST Record Layout
// CHECK-X64-NEXT: 0 | struct E
// CHECK-X64-NEXT: 0 | (E vbtable pointer)
// CHECK-X64-NEXT: 8 | int a
More information about the cfe-commits
mailing list