Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / obj2yaml / COFF / section-aux-symbol.yaml
blob7ed656114d5d79491c9466969c4aa1f60bf8f33f
1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s --check-prefix COFF-I386
3 # COFF-I386:     sections:
4 # COFF-I386-NEXT:  - Name:            .CRT
5 # COFF-I386:     symbols:
6 # COFF-I386:       - Name:            '.CRT$XCAA'
7 # COFF-I386-NEXT:    Value:           4
8 # COFF-I386:         StorageClass:    IMAGE_SYM_CLASS_STATIC
9 # COFF-I386-NEXT:    SectionDefinition:
10 # COFF-I386-NEXT:      Length:          4
11 # COFF-I386-NEXT:      NumberOfRelocations: 1
12 # COFF-I386-NEXT:      NumberOfLinenumbers: 0
13 # COFF-I386:       - Name:            '.CRT$XIAA'
14 # COFF-I386-NEXT:    Value:           16
15 # COFF-I386:         StorageClass:    IMAGE_SYM_CLASS_STATIC
16 # COFF-I386-NEXT:    SectionDefinition:
17 # COFF-I386-NEXT:      Length:          4
18 # COFF-I386-NEXT:      NumberOfRelocations: 1
19 # COFF-I386-NEXT:      NumberOfLinenumbers: 0
20 # COFF-I386:       - Name:            '.CRT$XLD'
21 # COFF-I386-NEXT:    Value:           36
22 # COFF-I386:         StorageClass:    IMAGE_SYM_CLASS_STATIC
23 # COFF-I386-NEXT:    SectionDefinition:
24 # COFF-I386-NEXT:      Length:          4
25 # COFF-I386-NEXT:      NumberOfRelocations: 1
26 # COFF-I386-NEXT:      NumberOfLinenumbers: 0
27 # COFF-I386:       - Name:            '.CRT$XLC'
28 # COFF-I386-NEXT:    Value:           32
29 # COFF-I386:         StorageClass:    IMAGE_SYM_CLASS_STATIC
30 # COFF-I386-NEXT:    SectionDefinition:
31 # COFF-I386-NEXT:      Length:          4
32 # COFF-I386-NEXT:      NumberOfRelocations: 1
33 # COFF-I386-NEXT:      NumberOfLinenumbers: 0
34 # COFF-I386:       - Name:            '.CRT$XDZ'
35 # COFF-I386-NEXT:    Value:           48
36 # COFF-I386:         StorageClass:    IMAGE_SYM_CLASS_STATIC
37 # COFF-I386-NEXT:    SectionDefinition:
38 # COFF-I386-NEXT:      Length:          4
39 # COFF-I386-NEXT:      NumberOfRelocations: 0
40 # COFF-I386-NEXT:      NumberOfLinenumbers: 0
41 # COFF-I386:       - Name:            '.CRT$XDA'
42 # COFF-I386-NEXT:    Value:           44
43 # COFF-I386:         StorageClass:    IMAGE_SYM_CLASS_STATIC
44 # COFF-I386-NEXT:    SectionDefinition:
45 # COFF-I386-NEXT:      Length:          4
46 # COFF-I386-NEXT:      NumberOfRelocations: 0
47 # COFF-I386-NEXT:      NumberOfLinenumbers: 0
48 # COFF-I386:       - Name:            '.CRT$XLZ'
49 # COFF-I386-NEXT:    Value:           40
50 # COFF-I386:         StorageClass:    IMAGE_SYM_CLASS_STATIC
51 # COFF-I386-NEXT:    SectionDefinition:
52 # COFF-I386-NEXT:      Length:          4
53 # COFF-I386-NEXT:      NumberOfRelocations: 0
54 # COFF-I386-NEXT:      NumberOfLinenumbers: 0
55 # COFF-I386:       - Name:            '.CRT$XLA'
56 # COFF-I386-NEXT:    Value:           28
57 # COFF-I386:         StorageClass:    IMAGE_SYM_CLASS_STATIC
58 # COFF-I386-NEXT:    SectionDefinition:
59 # COFF-I386-NEXT:      Length:          4
60 # COFF-I386-NEXT:      NumberOfRelocations: 0
61 # COFF-I386-NEXT:      NumberOfLinenumbers: 0
62 # COFF-I386:       - Name:            '.CRT$XIC'
63 # COFF-I386-NEXT:    Value:           20
64 # COFF-I386:         StorageClass:    IMAGE_SYM_CLASS_STATIC
65 # COFF-I386-NEXT:    SectionDefinition:
66 # COFF-I386-NEXT:      Length:          4
67 # COFF-I386-NEXT:      NumberOfRelocations: 1
68 # COFF-I386-NEXT:      NumberOfLinenumbers: 0
69 # COFF-I386:       - Name:            '.CRT$XCZ'
70 # COFF-I386-NEXT:    Value:           8
71 # COFF-I386:         StorageClass:    IMAGE_SYM_CLASS_STATIC
72 # COFF-I386-NEXT:    SectionDefinition:
73 # COFF-I386-NEXT:      Length:          4
74 # COFF-I386-NEXT:      NumberOfRelocations: 0
75 # COFF-I386-NEXT:      NumberOfLinenumbers: 0
76 # COFF-I386:       - Name:            '.CRT$XCA'
77 # COFF-I386-NEXT:    Value:           0
78 # COFF-I386:         StorageClass:    IMAGE_SYM_CLASS_STATIC
79 # COFF-I386-NEXT:    SectionDefinition:
80 # COFF-I386-NEXT:      Length:          4
81 # COFF-I386-NEXT:      NumberOfRelocations: 0
82 # COFF-I386-NEXT:      NumberOfLinenumbers: 0
83 # COFF-I386:       - Name:            '.CRT$XIZ'
84 # COFF-I386-NEXT:    Value:           24
85 # COFF-I386:         StorageClass:    IMAGE_SYM_CLASS_STATIC
86 # COFF-I386-NEXT:    SectionDefinition:
87 # COFF-I386-NEXT:      Length:          4
88 # COFF-I386-NEXT:      NumberOfRelocations: 0
89 # COFF-I386-NEXT:      NumberOfLinenumbers: 0
90 # COFF-I386:       - Name:            '.CRT$XIA'
91 # COFF-I386-NEXT:    Value:           12
92 # COFF-I386:         StorageClass:    IMAGE_SYM_CLASS_STATIC
93 # COFF-I386-NEXT:    SectionDefinition:
94 # COFF-I386-NEXT:      Length:          4
95 # COFF-I386-NEXT:      NumberOfRelocations: 0
96 # COFF-I386-NEXT:      NumberOfLinenumbers: 0
98 --- !COFF
99 header:
100   Machine:         IMAGE_FILE_MACHINE_I386
101   Characteristics: [ IMAGE_FILE_RELOCS_STRIPPED, IMAGE_FILE_EXECUTABLE_IMAGE, IMAGE_FILE_LINE_NUMS_STRIPPED, IMAGE_FILE_32BIT_MACHINE, IMAGE_FILE_DEBUG_STRIPPED ]
102 sections:
103   - Name:            .CRT
104     Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE ]
105     Alignment:       4
106     SectionData:     0000000030114000000000000000000010104000401640000000000000000000B015400060154000000000000000000000000000
107 symbols:
108   - Name:            '.CRT$XCAA'
109     Value:           4
110     SectionNumber:   1
111     SimpleType:      IMAGE_SYM_TYPE_NULL
112     ComplexType:     IMAGE_SYM_DTYPE_NULL
113     StorageClass:    IMAGE_SYM_CLASS_STATIC
114     SectionDefinition: 
115       Length:          4
116       NumberOfRelocations: 1
117       NumberOfLinenumbers: 0
118       CheckSum:        0
119       Number:          0
120   - Name:            '.CRT$XIAA'
121     Value:           16
122     SectionNumber:   1
123     SimpleType:      IMAGE_SYM_TYPE_NULL
124     ComplexType:     IMAGE_SYM_DTYPE_NULL
125     StorageClass:    IMAGE_SYM_CLASS_STATIC
126     SectionDefinition: 
127       Length:          4
128       NumberOfRelocations: 1
129       NumberOfLinenumbers: 0
130       CheckSum:        0
131       Number:          0
132   - Name:            '.CRT$XLD'
133     Value:           36
134     SectionNumber:   1
135     SimpleType:      IMAGE_SYM_TYPE_NULL
136     ComplexType:     IMAGE_SYM_DTYPE_NULL
137     StorageClass:    IMAGE_SYM_CLASS_STATIC
138     SectionDefinition: 
139       Length:          4
140       NumberOfRelocations: 1
141       NumberOfLinenumbers: 0
142       CheckSum:        0
143       Number:          0
144   - Name:            '.CRT$XLC'
145     Value:           32
146     SectionNumber:   1
147     SimpleType:      IMAGE_SYM_TYPE_NULL
148     ComplexType:     IMAGE_SYM_DTYPE_NULL
149     StorageClass:    IMAGE_SYM_CLASS_STATIC
150     SectionDefinition: 
151       Length:          4
152       NumberOfRelocations: 1
153       NumberOfLinenumbers: 0
154       CheckSum:        0
155       Number:          0
156   - Name:            '.CRT$XDZ'
157     Value:           48
158     SectionNumber:   1
159     SimpleType:      IMAGE_SYM_TYPE_NULL
160     ComplexType:     IMAGE_SYM_DTYPE_NULL
161     StorageClass:    IMAGE_SYM_CLASS_STATIC
162     SectionDefinition: 
163       Length:          4
164       NumberOfRelocations: 0
165       NumberOfLinenumbers: 0
166       CheckSum:        0
167       Number:          0
168   - Name:            '.CRT$XDA'
169     Value:           44
170     SectionNumber:   1
171     SimpleType:      IMAGE_SYM_TYPE_NULL
172     ComplexType:     IMAGE_SYM_DTYPE_NULL
173     StorageClass:    IMAGE_SYM_CLASS_STATIC
174     SectionDefinition: 
175       Length:          4
176       NumberOfRelocations: 0
177       NumberOfLinenumbers: 0
178       CheckSum:        0
179       Number:          0
180   - Name:            '.CRT$XLZ'
181     Value:           40
182     SectionNumber:   1
183     SimpleType:      IMAGE_SYM_TYPE_NULL
184     ComplexType:     IMAGE_SYM_DTYPE_NULL
185     StorageClass:    IMAGE_SYM_CLASS_STATIC
186     SectionDefinition: 
187       Length:          4
188       NumberOfRelocations: 0
189       NumberOfLinenumbers: 0
190       CheckSum:        0
191       Number:          0
192   - Name:            '.CRT$XLA'
193     Value:           28
194     SectionNumber:   1
195     SimpleType:      IMAGE_SYM_TYPE_NULL
196     ComplexType:     IMAGE_SYM_DTYPE_NULL
197     StorageClass:    IMAGE_SYM_CLASS_STATIC
198     SectionDefinition: 
199       Length:          4
200       NumberOfRelocations: 0
201       NumberOfLinenumbers: 0
202       CheckSum:        0
203       Number:          0
204   - Name:            '.CRT$XIC'
205     Value:           20
206     SectionNumber:   1
207     SimpleType:      IMAGE_SYM_TYPE_NULL
208     ComplexType:     IMAGE_SYM_DTYPE_NULL
209     StorageClass:    IMAGE_SYM_CLASS_STATIC
210     SectionDefinition: 
211       Length:          4
212       NumberOfRelocations: 1
213       NumberOfLinenumbers: 0
214       CheckSum:        0
215       Number:          0
216   - Name:            '.CRT$XCZ'
217     Value:           8
218     SectionNumber:   1
219     SimpleType:      IMAGE_SYM_TYPE_NULL
220     ComplexType:     IMAGE_SYM_DTYPE_NULL
221     StorageClass:    IMAGE_SYM_CLASS_STATIC
222     SectionDefinition: 
223       Length:          4
224       NumberOfRelocations: 0
225       NumberOfLinenumbers: 0
226       CheckSum:        0
227       Number:          0
228   - Name:            '.CRT$XCA'
229     Value:           0
230     SectionNumber:   1
231     SimpleType:      IMAGE_SYM_TYPE_NULL
232     ComplexType:     IMAGE_SYM_DTYPE_NULL
233     StorageClass:    IMAGE_SYM_CLASS_STATIC
234     SectionDefinition: 
235       Length:          4
236       NumberOfRelocations: 0
237       NumberOfLinenumbers: 0
238       CheckSum:        0
239       Number:          0
240   - Name:            '.CRT$XIZ'
241     Value:           24
242     SectionNumber:   1
243     SimpleType:      IMAGE_SYM_TYPE_NULL
244     ComplexType:     IMAGE_SYM_DTYPE_NULL
245     StorageClass:    IMAGE_SYM_CLASS_STATIC
246     SectionDefinition: 
247       Length:          4
248       NumberOfRelocations: 0
249       NumberOfLinenumbers: 0
250       CheckSum:        0
251       Number:          0
252   - Name:            '.CRT$XIA'
253     Value:           12
254     SectionNumber:   1
255     SimpleType:      IMAGE_SYM_TYPE_NULL
256     ComplexType:     IMAGE_SYM_DTYPE_NULL
257     StorageClass:    IMAGE_SYM_CLASS_STATIC
258     SectionDefinition: 
259       Length:          4
260       NumberOfRelocations: 0
261       NumberOfLinenumbers: 0
262       CheckSum:        0
263       Number:          0