1 # RUN: llvm-mc -filetype=obj -triple x86_64-pc-win32 %s | llvm-readobj --symbols | FileCheck %s
3 # This assembly should make an object with two .text sections, two .xdata
4 # sections, and two .pdata sections.
10 .section .text,"xr",discard,f
27 .section .text,"xr",discard,f
35 .section .text,"xr",associative,f
45 .section .text,"xr",associative,f
53 # CHECK: Section: .text (4)
54 # CHECK: AuxSymbolCount: 1
55 # CHECK: AuxSectionDef {
57 # CHECK: RelocationCount: 1
58 # CHECK: LineNumberCount: 0
59 # CHECK: Checksum: 0xE17CBB7
61 # CHECK: Selection: Any (0x2)
67 # CHECK: Section: .xdata (5)
68 # CHECK: BaseType: Null (0x0)
69 # CHECK: ComplexType: Null (0x0)
70 # CHECK: StorageClass: Static (0x3)
71 # CHECK: AuxSymbolCount: 1
72 # CHECK: AuxSectionDef {
74 # CHECK: RelocationCount: 0
75 # CHECK: LineNumberCount: 0
76 # CHECK: Checksum: 0xFC539D1
78 # CHECK: Selection: Associative (0x5)
79 # CHECK: AssocSection: .text (4)
85 # CHECK: Section: .text (6)
86 # CHECK: BaseType: Null (0x0)
87 # CHECK: ComplexType: Null (0x0)
88 # CHECK: StorageClass: Static (0x3)
89 # CHECK: AuxSymbolCount: 1
90 # CHECK: AuxSectionDef {
92 # CHECK: RelocationCount: 0
93 # CHECK: LineNumberCount: 0
94 # CHECK: Checksum: 0x26D930A
96 # CHECK: Selection: Associative (0x5)
97 # CHECK: AssocSection: .text (4)
101 # CHECK: Name: .xdata
103 # CHECK: Section: .xdata (7)
104 # CHECK: BaseType: Null (0x0)
105 # CHECK: ComplexType: Null (0x0)
106 # CHECK: StorageClass: Static (0x3)
107 # CHECK: AuxSymbolCount: 1
108 # CHECK: AuxSectionDef {
110 # CHECK: RelocationCount: 0
111 # CHECK: LineNumberCount: 0
112 # CHECK: Checksum: 0xCCAA009E
114 # CHECK: Selection: Associative (0x5)
115 # CHECK: AssocSection: .text (4)
119 # CHECK: Name: .pdata
121 # CHECK: Section: .pdata (8)
122 # CHECK: BaseType: Null (0x0)
123 # CHECK: ComplexType: Null (0x0)
124 # CHECK: StorageClass: Static (0x3)
125 # CHECK: AuxSymbolCount: 1
126 # CHECK: AuxSectionDef {
128 # CHECK: RelocationCount: 3
129 # CHECK: LineNumberCount: 0
130 # CHECK: Checksum: 0xD92012AC
132 # CHECK: Selection: Associative (0x5)
133 # CHECK: AssocSection: .text (4)
137 # CHECK: Name: .pdata
139 # CHECK: Section: .pdata (9)
140 # CHECK: BaseType: Null (0x0)
141 # CHECK: ComplexType: Null (0x0)
142 # CHECK: StorageClass: Static (0x3)
143 # CHECK: AuxSymbolCount: 1
144 # CHECK: AuxSectionDef {
146 # CHECK: RelocationCount: 3
147 # CHECK: LineNumberCount: 0
148 # CHECK: Checksum: 0xCCAA009E
150 # CHECK: Selection: Associative (0x5)
151 # CHECK: AssocSection: .text (4)