1 Ensure that we can read the COFF auxiliary symbols 'section definition' and
2 'CLR token definition' as used in C++/CLI object files. Auxiliary section
3 definitions usually only follow a symbol with static storage class, but
4 non-const appdomain globals (external ABS) also get one.
6 RUN: llvm-readobj --symbols %p/Inputs/cxx-cli-aux.obj.coff-i386 | FileCheck %s
10 CHECK: Name: ?PerAppDomain@@$$Q3HA
12 CHECK-NEXT: Section: IMAGE_SYM_ABSOLUTE (-1)
13 CHECK-NEXT: BaseType: Null (0x0)
14 CHECK-NEXT: ComplexType: Null (0x0)
15 CHECK-NEXT: StorageClass: External (0x2)
16 CHECK-NEXT: AuxSymbolCount: 1
17 CHECK-NEXT: AuxSectionDef {
19 CHECK-NEXT: RelocationCount: 0
20 CHECK-NEXT: LineNumberCount: 0
21 CHECK-NEXT: Checksum: 0x0
23 CHECK-NEXT: Selection: NoDuplicates (0x1)
30 CHECK-NEXT: Section: IMAGE_SYM_ABSOLUTE (-1)
31 CHECK-NEXT: BaseType: Null (0x0)
32 CHECK-NEXT: ComplexType: Null (0x0)
33 CHECK-NEXT: StorageClass: CLRToken (0x6B)
34 CHECK-NEXT: AuxSymbolCount: 1
35 CHECK-NEXT: AuxCLRToken {
36 CHECK-NEXT: AuxType: 1
37 CHECK-NEXT: Reserved: 0
38 CHECK-NEXT: SymbolTableIndex: ?PerAppDomain@@$$Q3HA (19)