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