Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-cxxdump / trivial.test
bloba7d8a23961978f5aa44ff9f97f0a5373d013ad37
1 RUN: llvm-cxxdump %p/Inputs/trivial.obj.coff-i386 \
2 RUN:   | FileCheck %s --check-prefix=COFF-I386
4 RUN: llvm-cxxdump %p/Inputs/trivial.obj.elf-i386 \
5 RUN:   | FileCheck %s --check-prefix=ELF-I386
7 RUN: llvm-cxxdump %p/Inputs/mixed-archive.coff-i386 \
8 RUN:   | FileCheck %s --check-prefix=MIXEDARCOFF-I386
10 COFF-I386:      ??_7S@@6B@[0]: ??_R4S@@6B@
11 COFF-I386-NEXT: ??_7S@@6B@[4]: ??_GS@@UAEPAXI@Z
12 COFF-I386-NEXT: ??_8S@@7B@[0]: -4
13 COFF-I386-NEXT: ??_8S@@7B@[4]: 4
14 COFF-I386-NEXT: ??_R4S@@6B@[IsImageRelative]: 0
15 COFF-I386-NEXT: ??_R4S@@6B@[OffsetToTop]: 0
16 COFF-I386-NEXT: ??_R4S@@6B@[VFPtrOffset]: 0
17 COFF-I386-NEXT: ??_R4S@@6B@[TypeDescriptor]: ??_R0?AUS@@@8
18 COFF-I386-NEXT: ??_R4S@@6B@[ClassHierarchyDescriptor]: ??_R3S@@8
19 COFF-I386-NEXT: ??_R3A@@8[AlwaysZero]: 0
20 COFF-I386-NEXT: ??_R3A@@8[Flags]: 0
21 COFF-I386-NEXT: ??_R3A@@8[NumClasses]: 1
22 COFF-I386-NEXT: ??_R3A@@8[BaseClassArray]: ??_R2A@@8
23 COFF-I386-NEXT: ??_R3S@@8[AlwaysZero]: 0
24 COFF-I386-NEXT: ??_R3S@@8[Flags]: 0
25 COFF-I386-NEXT: ??_R3S@@8[NumClasses]: 2
26 COFF-I386-NEXT: ??_R3S@@8[BaseClassArray]: ??_R2S@@8
27 COFF-I386-NEXT: ??_R2A@@8[0]: ??_R1A@?0A@EA@A@@8
28 COFF-I386-NEXT: ??_R2S@@8[0]: ??_R1A@?0A@EA@S@@8
29 COFF-I386-NEXT: ??_R2S@@8[4]: ??_R1A@33FA@A@@8
30 COFF-I386-NEXT: ??_R1A@33FA@A@@8[TypeDescriptor]: ??_R0?AUA@@@8
31 COFF-I386-NEXT: ??_R1A@33FA@A@@8[NumBases]: 0
32 COFF-I386-NEXT: ??_R1A@33FA@A@@8[OffsetInVBase]: 0
33 COFF-I386-NEXT: ??_R1A@33FA@A@@8[VBPtrOffset]: 4
34 COFF-I386-NEXT: ??_R1A@33FA@A@@8[OffsetInVBTable]: 4
35 COFF-I386-NEXT: ??_R1A@33FA@A@@8[Flags]: 80
36 COFF-I386-NEXT: ??_R1A@33FA@A@@8[ClassHierarchyDescriptor]: ??_R3A@@8
37 COFF-I386-NEXT: ??_R1A@?0A@EA@A@@8[TypeDescriptor]: ??_R0?AUA@@@8
38 COFF-I386-NEXT: ??_R1A@?0A@EA@A@@8[NumBases]: 0
39 COFF-I386-NEXT: ??_R1A@?0A@EA@A@@8[OffsetInVBase]: 0
40 COFF-I386-NEXT: ??_R1A@?0A@EA@A@@8[VBPtrOffset]: -1
41 COFF-I386-NEXT: ??_R1A@?0A@EA@A@@8[OffsetInVBTable]: 0
42 COFF-I386-NEXT: ??_R1A@?0A@EA@A@@8[Flags]: 64
43 COFF-I386-NEXT: ??_R1A@?0A@EA@A@@8[ClassHierarchyDescriptor]: ??_R3A@@8
44 COFF-I386-NEXT: ??_R1A@?0A@EA@S@@8[TypeDescriptor]: ??_R0?AUS@@@8
45 COFF-I386-NEXT: ??_R1A@?0A@EA@S@@8[NumBases]: 1
46 COFF-I386-NEXT: ??_R1A@?0A@EA@S@@8[OffsetInVBase]: 0
47 COFF-I386-NEXT: ??_R1A@?0A@EA@S@@8[VBPtrOffset]: -1
48 COFF-I386-NEXT: ??_R1A@?0A@EA@S@@8[OffsetInVBTable]: 0
49 COFF-I386-NEXT: ??_R1A@?0A@EA@S@@8[Flags]: 64
50 COFF-I386-NEXT: ??_R1A@?0A@EA@S@@8[ClassHierarchyDescriptor]: ??_R3S@@8
51 COFF-I386-NEXT: ??_R0?AUA@@@8[VFPtr]: ??_7type_info@@6B@
52 COFF-I386-NEXT: ??_R0?AUA@@@8[AlwaysZero]: 0
53 COFF-I386-NEXT: ??_R0?AUA@@@8[MangledName]: .?AUA@@
54 COFF-I386-NEXT: ??_R0?AUS@@@8[VFPtr]: ??_7type_info@@6B@
55 COFF-I386-NEXT: ??_R0?AUS@@@8[AlwaysZero]: 0
56 COFF-I386-NEXT: ??_R0?AUS@@@8[MangledName]: .?AUS@@
58 ELF-I386:      _ZTS1A: 1A
59 ELF-I386-NEXT: _ZTV1A[0]: 0
60 ELF-I386-NEXT: _ZTV1A[4]: _ZTI1A
61 ELF-I386-NEXT: _ZTV1A[8]: _ZN1A1fEv
63 MIXEDARCOFF-I386:      ??_7S@@6B@[0]: ??_R4S@@6B@
65 RUN: not llvm-cxxdump %t.blah 2>&1 | FileCheck -DMSG=%errc_ENOENT --check-prefix=ENOENT %s
66 ENOENT: {{.*}}.blah: error: [[MSG]]