[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / tools / llvm-pdbutil / complex-padding-graphical.test
blob89d2da3006b670e28617dfef80cb4f4117f51b70
1 ; REQUIRES: diasdk
3 ; RUN: llvm-pdbutil pretty -classes -class-definitions=layout \
4 ; RUN:     -include-types=Test %p/Inputs/ComplexPaddingTest.pdb > %t
6 ; RUN: FileCheck -input-file=%t %s -check-prefix=DIRECT_VB_ONLY
7 ; RUN: FileCheck -input-file=%t %s -check-prefix=DIRECT_VB_AND_NON_VB
8 ; RUN: FileCheck -input-file=%t %s -check-prefix=INDIRECT_VB
9 ; RUN: FileCheck -input-file=%t %s -check-prefix=INDIRECT_AND_DIRECT_VB
12 ; DIRECT_VB_ONLY:      struct TestIVBBase [sizeof = 16]
13 ; DIRECT_VB_ONLY-NEXT:   : public virtual TestVB {
14 ; DIRECT_VB_ONLY-NEXT:   vbptr +0x00 [sizeof=4]
15 ; DIRECT_VB_ONLY-NEXT:   data +0x04 [sizeof=4] int A
16 ; DIRECT_VB_ONLY-NEXT:   vbase +0x08 [sizeof=8] TestVB
17 ; DIRECT_VB_ONLY-NEXT:     vfptr +0x08 [sizeof=4]
18 ; DIRECT_VB_ONLY-NEXT:     data +0x0c [sizeof=4] int X
19 ; DIRECT_VB_ONLY-NEXT: }
21 DIRECT_VB_AND_NON_VB:      struct TestVBLayout [sizeof = 24]
22 DIRECT_VB_AND_NON_VB-NEXT:   : public TestNVB
23 DIRECT_VB_AND_NON_VB-NEXT:   , public virtual TestVB {
24 DIRECT_VB_AND_NON_VB-NEXT:   base +0x00 [sizeof=8] TestNVB
25 DIRECT_VB_AND_NON_VB-NEXT:     vfptr +0x00 [sizeof=4]
26 DIRECT_VB_AND_NON_VB-NEXT:     data +0x04 [sizeof=4] int Y
27 DIRECT_VB_AND_NON_VB-NEXT:   vbptr +0x08 [sizeof=4]
28 DIRECT_VB_AND_NON_VB-NEXT:   data +0x0c [sizeof=4] int Z
29 DIRECT_VB_AND_NON_VB-NEXT:   vbase +0x10 [sizeof=8] TestVB
30 DIRECT_VB_AND_NON_VB-NEXT:     vfptr +0x10 [sizeof=4]
31 DIRECT_VB_AND_NON_VB-NEXT:     data +0x14 [sizeof=4] int X
32 DIRECT_VB_AND_NON_VB-NEXT: }
34 INDIRECT_VB:      struct TestIVBDerived [sizeof = 20]
35 INDIRECT_VB-NEXT:   : public TestIVBBase {
36 INDIRECT_VB-NEXT:   base +0x00 [sizeof=8] TestIVBBase
37 INDIRECT_VB-NEXT:     vbptr +0x00 [sizeof=4]
38 INDIRECT_VB-NEXT:     data +0x04 [sizeof=4] int A
39 INDIRECT_VB-NEXT:   data +0x08 [sizeof=4] int B
40 INDIRECT_VB-NEXT:   ivbase +0x0c [sizeof=8] TestVB
41 INDIRECT_VB-NEXT:     vfptr +0x0c [sizeof=4]
42 INDIRECT_VB-NEXT:     data +0x10 [sizeof=4] int X
43 INDIRECT_VB-NEXT: }
45 INDIRECT_AND_DIRECT_VB:      struct TestIVBMergedDerived [sizeof = 20]
46 INDIRECT_AND_DIRECT_VB-NEXT:   : public TestIVBBase
47 INDIRECT_AND_DIRECT_VB-NEXT:   , public virtual TestVB {
48 INDIRECT_AND_DIRECT_VB-NEXT:   base +0x00 [sizeof=8] TestIVBBase
49 INDIRECT_AND_DIRECT_VB-NEXT:     vbptr +0x00 [sizeof=4]
50 INDIRECT_AND_DIRECT_VB-NEXT:     data +0x04 [sizeof=4] int A
51 INDIRECT_AND_DIRECT_VB-NEXT:   data +0x08 [sizeof=4] int B
52 INDIRECT_AND_DIRECT_VB-NEXT:   vbase +0x0c [sizeof=8] TestVB
53 INDIRECT_AND_DIRECT_VB-NEXT:     vfptr +0x0c [sizeof=4]
54 INDIRECT_AND_DIRECT_VB-NEXT:     data +0x10 [sizeof=4] int X
55 INDIRECT_AND_DIRECT_VB-NEXT: }