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 -t %p/Inputs/cxx-cli-aux.obj.coff-i386 | FileCheck %s
10 CHECK: Name: ?PerAppDomain@@$$Q3HA
12 CHECK-NEXT: Section: (65535)
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)
24 CHECK-NEXT: Unused: (00 00 00)
31 CHECK-NEXT: Section: (65535)
32 CHECK-NEXT: BaseType: Null (0x0)
33 CHECK-NEXT: ComplexType: Null (0x0)
34 CHECK-NEXT: StorageClass: CLRToken (0x6B)
35 CHECK-NEXT: AuxSymbolCount: 1
36 CHECK-NEXT: AuxCLRToken {
37 CHECK-NEXT: AuxType: 1
38 CHECK-NEXT: Reserved: 0
39 CHECK-NEXT: SymbolTableIndex: 19
40 CHECK-NEXT: Unused: (00 00 00 00 00 00 00 00 00 00 00 00)