forked from OSchip/llvm-project
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 C64 llvm-svn: 201453
This commit is contained in:
parent
efa20ae276
commit
805d759664
|
@ -171,17 +171,17 @@ struct CA2 : public CA1, public CA0 {
|
||||||
// CHECK-NEXT: 9 | struct CA0 (virtual base) (empty)
|
// CHECK-NEXT: 9 | struct CA0 (virtual base) (empty)
|
||||||
// CHECK-NEXT: | [sizeof=9, align=1
|
// CHECK-NEXT: | [sizeof=9, align=1
|
||||||
// CHECK-NEXT: | nvsize=9, nvalign=1]
|
// CHECK-NEXT: | nvsize=9, nvalign=1]
|
||||||
// CHECK-C64: *** Dumping AST Record Layout
|
// CHECK-X64: *** Dumping AST Record Layout
|
||||||
// CHECK-C64: *** Dumping AST Record Layout
|
// CHECK-X64: *** Dumping AST Record Layout
|
||||||
// CHECK-C64: *** Dumping AST Record Layout
|
// CHECK-X64: *** Dumping AST Record Layout
|
||||||
// CHECK-C64-NEXT: 0 | struct CA2
|
// CHECK-X64-NEXT: 0 | struct CA2
|
||||||
// CHECK-C64-NEXT: 0 | (CA2 vftable pointer)
|
// CHECK-X64-NEXT: 0 | (CA2 vftable pointer)
|
||||||
// CHECK-C64-NEXT: 8 | struct CA1 (base)
|
// CHECK-X64-NEXT: 8 | struct CA1 (base)
|
||||||
// CHECK-C64-NEXT: 8 | (CA1 vbtable pointer)
|
// CHECK-X64-NEXT: 8 | (CA1 vbtable pointer)
|
||||||
// CHECK-C64-NEXT: 17 | struct CA0 (base) (empty)
|
// CHECK-X64-NEXT: 17 | struct CA0 (base) (empty)
|
||||||
// CHECK-C64-NEXT: 17 | struct CA0 (virtual base) (empty)
|
// CHECK-X64-NEXT: 17 | struct CA0 (virtual base) (empty)
|
||||||
// CHECK-C64-NEXT: | [sizeof=17, align=1
|
// CHECK-X64-NEXT: | [sizeof=17, align=1
|
||||||
// CHECK-C64-NEXT: | nvsize=17, nvalign=1]
|
// CHECK-X64-NEXT: | nvsize=17, nvalign=1]
|
||||||
|
|
||||||
#pragma pack(16)
|
#pragma pack(16)
|
||||||
struct YA {
|
struct YA {
|
||||||
|
@ -193,9 +193,6 @@ struct YA {
|
||||||
// CHECK-NEXT: | [sizeof=32, align=32
|
// CHECK-NEXT: | [sizeof=32, align=32
|
||||||
// CHECK-NEXT: | nvsize=32, nvalign=32]
|
// CHECK-NEXT: | nvsize=32, nvalign=32]
|
||||||
// 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 YA (empty)
|
// CHECK-X64-NEXT: 0 | struct YA (empty)
|
||||||
// CHECK-X64-NEXT: 0 | char
|
// CHECK-X64-NEXT: 0 | char
|
||||||
// CHECK-X64-NEXT: | [sizeof=32, align=32
|
// CHECK-X64-NEXT: | [sizeof=32, align=32
|
||||||
|
|
Loading…
Reference in New Issue