Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-nm / X86 / radix.s
blobb8de169e9ecdc9a38473c55cf2415ba8079ec550
1 // #check radix formats of llvm-nm
2 // RUN: llvm-mc %s -filetype=obj -triple=x86_64-pc-linux -o %t.o
3 // RUN: llvm-nm --radix=d %t.o | FileCheck %s
4 // RUN: llvm-nm --radix=o %t.o | FileCheck --check-prefix=OCTAL %s
5 // RUN: llvm-nm -tx %t.o | FileCheck --check-prefix=HEX %s
6 // RUN: llvm-nm -t x %t.o | FileCheck --check-prefix=HEX %s
8 .text
9 .file "1.c"
10 .type i0,@object # @i0
11 .bss
12 .globl i0
13 .align 4
14 i0:
15 .long 0 # 0x0
16 .size i0, 4
18 .type i1,@object # @i1
19 .data
20 .globl i1
21 .align 4
22 i1:
23 .long 1 # 0x1
24 .size i1, 4
26 .type i2,@object # @i2
27 .globl i2
28 .align 4
29 i2:
30 .long 2 # 0x2
31 .size i2, 4
33 .type i3,@object # @i3
34 .globl i3
35 .align 4
36 i3:
37 .long 3 # 0x3
38 .size i3, 4
40 .type i4,@object # @i4
41 .globl i4
42 .align 4
43 i4:
44 .long 4 # 0x4
45 .size i4, 4
47 .type i5,@object # @i5
48 .globl i5
49 .align 4
50 i5:
51 .long 5 # 0x5
52 .size i5, 4
54 .type i6,@object # @i6
55 .globl i6
56 .align 4
57 i6:
58 .long 6 # 0x6
59 .size i6, 4
61 .type i7,@object # @i7
62 .globl i7
63 .align 4
64 i7:
65 .long 7 # 0x7
66 .size i7, 4
68 .type i8,@object # @i8
69 .globl i8
70 .align 4
71 i8:
72 .long 8 # 0x8
73 .size i8, 4
75 .type i9,@object # @i9
76 .globl i9
77 .align 4
78 i9:
79 .long 9 # 0x9
80 .size i9, 4
82 .type i10,@object # @i10
83 .globl i10
84 .align 4
85 i10:
86 .long 10 # 0xa
87 .size i10, 4
89 .type i11,@object # @i11
90 .globl i11
91 .align 4
92 i11:
93 .long 11 # 0xb
94 .size i11, 4
96 .type i12,@object # @i12
97 .globl i12
98 .align 4
99 i12:
100 .long 12 # 0xc
101 .size i12, 4
103 .type i13,@object # @i13
104 .globl i13
105 .align 4
106 i13:
107 .long 13 # 0xd
108 .size i13, 4
110 .type i14,@object # @i14
111 .globl i14
112 .align 4
113 i14:
114 .long 14 # 0xe
115 .size i14, 4
117 .type i15,@object # @i15
118 .globl i15
119 .align 4
120 i15:
121 .long 15 # 0xf
122 .size i15, 4
124 .type i16,@object # @i16
125 .globl i16
126 .align 4
127 i16:
128 .long 16 # 0x10
129 .size i16, 4
131 .type i17,@object # @i17
132 .globl i17
133 .align 4
134 i17:
135 .long 17 # 0x11
136 .size i17, 4
138 .type i18,@object # @i18
139 .globl i18
140 .align 4
141 i18:
142 .long 18 # 0x12
143 .size i18, 4
145 .type i19,@object # @i19
146 .globl i19
147 .align 4
148 i19:
149 .long 19 # 0x13
150 .size i19, 4
152 .type i20,@object # @i20
153 .globl i20
154 .align 4
155 i20:
156 .long 20 # 0x14
157 .size i20, 4
159 .type i21,@object # @i21
160 .globl i21
161 .align 4
162 i21:
163 .long 21 # 0x15
164 .size i21, 4
166 .type i22,@object # @i22
167 .globl i22
168 .align 4
169 i22:
170 .long 22 # 0x16
171 .size i22, 4
173 .type i23,@object # @i23
174 .globl i23
175 .align 4
176 i23:
177 .long 23 # 0x17
178 .size i23, 4
180 .type i24,@object # @i24
181 .globl i24
182 .align 4
183 i24:
184 .long 24 # 0x18
185 .size i24, 4
188 .ident "clang version 3.6.0 (tags/RELEASE_360/final)"
189 .section ".note.GNU-stack","",@progbits
191 //CHECK: 0000000000000000 B i0
192 //CHECK: 0000000000000000 D i1
193 //CHECK: 0000000000000036 D i10
194 //CHECK: 0000000000000040 D i11
195 //CHECK: 0000000000000044 D i12
196 //CHECK: 0000000000000048 D i13
197 //CHECK: 0000000000000052 D i14
198 //CHECK: 0000000000000056 D i15
199 //CHECK: 0000000000000060 D i16
200 //CHECK: 0000000000000064 D i17
201 //CHECK: 0000000000000068 D i18
202 //CHECK: 0000000000000072 D i19
203 //CHECK: 0000000000000004 D i2
204 //CHECK: 0000000000000076 D i20
205 //CHECK: 0000000000000080 D i21
206 //CHECK: 0000000000000084 D i22
207 //CHECK: 0000000000000088 D i23
208 //CHECK: 0000000000000092 D i24
209 //CHECK: 0000000000000008 D i3
210 //CHECK: 0000000000000012 D i4
211 //CHECK: 0000000000000016 D i5
212 //CHECK: 0000000000000020 D i6
213 //CHECK: 0000000000000024 D i7
214 //CHECK: 0000000000000028 D i8
215 //CHECK: 0000000000000032 D i9
217 //OCTAL: 0000000000000000 B i0
218 //OCTAL: 0000000000000000 D i1
219 //OCTAL: 0000000000000044 D i10
220 //OCTAL: 0000000000000050 D i11
221 //OCTAL: 0000000000000054 D i12
222 //OCTAL: 0000000000000060 D i13
223 //OCTAL: 0000000000000064 D i14
224 //OCTAL: 0000000000000070 D i15
225 //OCTAL: 0000000000000074 D i16
226 //OCTAL: 0000000000000100 D i17
227 //OCTAL: 0000000000000104 D i18
228 //OCTAL: 0000000000000110 D i19
229 //OCTAL: 0000000000000004 D i2
230 //OCTAL: 0000000000000114 D i20
231 //OCTAL: 0000000000000120 D i21
232 //OCTAL: 0000000000000124 D i22
233 //OCTAL: 0000000000000130 D i23
234 //OCTAL: 0000000000000134 D i24
235 //OCTAL: 0000000000000010 D i3
236 //OCTAL: 0000000000000014 D i4
237 //OCTAL: 0000000000000020 D i5
238 //OCTAL: 0000000000000024 D i6
239 //OCTAL: 0000000000000030 D i7
240 //OCTAL: 0000000000000034 D i8
241 //OCTAL: 0000000000000040 D i9
243 //HEX: 0000000000000000 B i0
244 //HEX: 0000000000000000 D i1
245 //HEX: 0000000000000024 D i10
246 //HEX: 0000000000000028 D i11
247 //HEX: 000000000000002c D i12
248 //HEX: 0000000000000030 D i13
249 //HEX: 0000000000000034 D i14
250 //HEX: 0000000000000038 D i15
251 //HEX: 000000000000003c D i16
252 //HEX: 0000000000000040 D i17
253 //HEX: 0000000000000044 D i18
254 //HEX: 0000000000000048 D i19
255 //HEX: 0000000000000004 D i2
256 //HEX: 000000000000004c D i20
257 //HEX: 0000000000000050 D i21
258 //HEX: 0000000000000054 D i22
259 //HEX: 0000000000000058 D i23
260 //HEX: 000000000000005c D i24
261 //HEX: 0000000000000008 D i3
262 //HEX: 000000000000000c D i4
263 //HEX: 0000000000000010 D i5
264 //HEX: 0000000000000014 D i6
265 //HEX: 0000000000000018 D i7
266 //HEX: 000000000000001c D i8
267 //HEX: 0000000000000020 D i9