Lines Matching refs:LLVM
24 # RUN: FileCheck %s --check-prefixes=ELF-LLVM,ELF32-LLVM \
30 # RUN: llvm-readobj -l %t64.elf | FileCheck %s --check-prefixes=ELF-LLVM,ELF64-LLVM
119 # ELF-LLVM: ProgramHeaders [
120 # ELF-LLVM-NEXT: ProgramHeader {
121 # ELF-LLVM-NEXT: Type: PT_PHDR (0x6)
122 # ELF32-LLVM-NEXT: Offset: 0x314
123 # ELF64-LLVM-NEXT: Offset: 0x548
124 # ELF-LLVM-NEXT: VirtualAddress: 0x1000
125 # ELF-LLVM-NEXT: PhysicalAddress: 0x1000
126 # ELF-LLVM-NEXT: FileSize: 3
127 # ELF-LLVM-NEXT: MemSize: 3
128 # ELF-LLVM-NEXT: Flags [ (0x2)
129 # ELF-LLVM-NEXT: PF_W (0x2)
130 # ELF-LLVM-NEXT: ]
131 # ELF-LLVM-NEXT: Alignment: 1
132 # ELF-LLVM-NEXT: }
133 # ELF-LLVM-NEXT: ProgramHeader {
134 # ELF-LLVM-NEXT: Type: PT_PHDR (0x6)
135 # ELF32-LLVM-NEXT: Offset: 0x317
136 # ELF64-LLVM-NEXT: Offset: 0x54B
137 # ELF-LLVM-NEXT: VirtualAddress: 0x2000
138 # ELF-LLVM-NEXT: PhysicalAddress: 0x2000
139 # ELF-LLVM-NEXT: FileSize: 7
140 # ELF-LLVM-NEXT: MemSize: 7
141 # ELF-LLVM-NEXT: Flags [ (0x1)
142 # ELF-LLVM-NEXT: PF_X (0x1)
143 # ELF-LLVM-NEXT: ]
144 # ELF-LLVM-NEXT: Alignment: 1
145 # ELF-LLVM-NEXT: }
146 # ELF-LLVM-NEXT: ProgramHeader {
147 # ELF-LLVM-NEXT: Type: PT_NULL (0x0)
148 # ELF32-LLVM-NEXT: Offset: 0x317
149 # ELF64-LLVM-NEXT: Offset: 0x54B
150 # ELF-LLVM-NEXT: VirtualAddress: 0x2000
151 # ELF-LLVM-NEXT: PhysicalAddress: 0x2000
152 # ELF-LLVM-NEXT: FileSize: 7
153 # ELF-LLVM-NEXT: MemSize: 7
154 # ELF-LLVM-NEXT: Flags [ (0x1)
155 # ELF-LLVM-NEXT: PF_X (0x1)
156 # ELF-LLVM-NEXT: ]
157 # ELF-LLVM-NEXT: Alignment: 1
158 # ELF-LLVM-NEXT: }
159 # ELF-LLVM-NEXT: ProgramHeader {
160 # ELF-LLVM-NEXT: Type: PT_DYNAMIC (0x2)
161 # ELF32-LLVM-NEXT: Offset: 0x314
162 # ELF64-LLVM-NEXT: Offset: 0x548
163 # ELF-LLVM-NEXT: VirtualAddress: 0x1000
164 # ELF-LLVM-NEXT: PhysicalAddress: 0x1000
165 # ELF-LLVM-NEXT: FileSize: 3
166 # ELF-LLVM-NEXT: MemSize: 3
167 # ELF-LLVM-NEXT: Flags [ (0x7)
168 # ELF-LLVM-NEXT: PF_R (0x4)
169 # ELF-LLVM-NEXT: PF_W (0x2)
170 # ELF-LLVM-NEXT: PF_X (0x1)
171 # ELF-LLVM-NEXT: ]
172 # ELF-LLVM-NEXT: Alignment: 1
173 # ELF-LLVM-NEXT: }
174 # ELF-LLVM-NEXT: ProgramHeader {
175 # ELF-LLVM-NEXT: Type: PT_INTERP (0x3)
176 # ELF32-LLVM-NEXT: Offset: 0x31E
177 # ELF64-LLVM-NEXT: Offset: 0x552
178 # ELF-LLVM-NEXT: VirtualAddress: 0x3000
179 # ELF-LLVM-NEXT: PhysicalAddress: 0x3000
180 # ELF-LLVM-NEXT: FileSize: 4
181 # ELF-LLVM-NEXT: MemSize: 4
182 # ELF-LLVM-NEXT: Flags [ (0x6)
183 # ELF-LLVM-NEXT: PF_R (0x4)
184 # ELF-LLVM-NEXT: PF_W (0x2)
185 # ELF-LLVM-NEXT: ]
186 # ELF-LLVM-NEXT: Alignment: 1
187 # ELF-LLVM-NEXT: }
188 # ELF-LLVM-NEXT: ProgramHeader {
189 # ELF-LLVM-NEXT: Type: PT_NOTE (0x4)
190 # ELF32-LLVM-NEXT: Offset: 0x314
191 # ELF64-LLVM-NEXT: Offset: 0x548
192 # ELF-LLVM-NEXT: VirtualAddress: 0x1000
193 # ELF-LLVM-NEXT: PhysicalAddress: 0x1000
194 # ELF-LLVM-NEXT: FileSize: 3
195 # ELF-LLVM-NEXT: MemSize: 3
196 # ELF-LLVM-NEXT: Flags [ (0x0)
197 # ELF-LLVM-NEXT: ]
198 # ELF-LLVM-NEXT: Alignment: 1
199 # ELF-LLVM-NEXT: }
200 # ELF-LLVM-NEXT: ProgramHeader {
201 # ELF-LLVM-NEXT: Type: PT_SHLIB (0x5)
202 # ELF32-LLVM-NEXT: Offset: 0x314
203 # ELF64-LLVM-NEXT: Offset: 0x548
204 # ELF-LLVM-NEXT: VirtualAddress: 0x1000
205 # ELF-LLVM-NEXT: PhysicalAddress: 0x1000
206 # ELF-LLVM-NEXT: FileSize: 1
207 # ELF-LLVM-NEXT: MemSize: 1
208 # ELF-LLVM-NEXT: Flags [ (0x0)
209 # ELF-LLVM-NEXT: ]
210 # ELF-LLVM-NEXT: Alignment: 1
211 # ELF-LLVM-NEXT: }
212 # ELF-LLVM-NEXT: ProgramHeader {
213 # ELF-LLVM-NEXT: Type: PT_TLS (0x7)
214 # ELF32-LLVM-NEXT: Offset: 0x322
215 # ELF64-LLVM-NEXT: Offset: 0x556
216 # ELF-LLVM-NEXT: VirtualAddress: 0x4000
217 # ELF-LLVM-NEXT: PhysicalAddress: 0x4000
218 # ELF-LLVM-NEXT: FileSize: 1
219 # ELF-LLVM-NEXT: MemSize: 1
220 # ELF-LLVM-NEXT: Flags [ (0x0)
221 # ELF-LLVM-NEXT: ]
222 # ELF-LLVM-NEXT: Alignment: 1
223 # ELF-LLVM-NEXT: }
224 # ELF-LLVM-NEXT: ProgramHeader {
225 # ELF-LLVM-NEXT: Type: Unknown (0x60000000)
226 # ELF32-LLVM-NEXT: Offset: 0x314
227 # ELF64-LLVM-NEXT: Offset: 0x548
228 # ELF-LLVM-NEXT: VirtualAddress: 0x1000
229 # ELF-LLVM-NEXT: PhysicalAddress: 0x1000
230 # ELF-LLVM-NEXT: FileSize: 3
231 # ELF-LLVM-NEXT: MemSize: 3
232 # ELF-LLVM-NEXT: Flags [ (0x0)
233 # ELF-LLVM-NEXT: ]
234 # ELF-LLVM-NEXT: Alignment: 1
235 # ELF-LLVM-NEXT: }
236 # ELF-LLVM-NEXT: ProgramHeader {
237 # ELF-LLVM-NEXT: Type: PT_GNU_EH_FRAME (0x6474E550)
238 # ELF32-LLVM-NEXT: Offset: 0x314
239 # ELF64-LLVM-NEXT: Offset: 0x548
240 # ELF-LLVM-NEXT: VirtualAddress: 0x1000
241 # ELF-LLVM-NEXT: PhysicalAddress: 0x1000
242 # ELF-LLVM-NEXT: FileSize: 3
243 # ELF-LLVM-NEXT: MemSize: 3
244 # ELF-LLVM-NEXT: Flags [ (0x0)
245 # ELF-LLVM-NEXT: ]
246 # ELF-LLVM-NEXT: Alignment: 1
247 # ELF-LLVM-NEXT: }
248 # ELF-LLVM-NEXT: ProgramHeader {
249 # ELF-LLVM-NEXT: Type: PT_SUNW_UNWIND (0x6464E550)
250 # ELF32-LLVM-NEXT: Offset: 0x314
251 # ELF64-LLVM-NEXT: Offset: 0x548
252 # ELF-LLVM-NEXT: VirtualAddress: 0x1000
253 # ELF-LLVM-NEXT: PhysicalAddress: 0x1000
254 # ELF-LLVM-NEXT: FileSize: 3
255 # ELF-LLVM-NEXT: MemSize: 3
256 # ELF-LLVM-NEXT: Flags [ (0x0)
257 # ELF-LLVM-NEXT: ]
258 # ELF-LLVM-NEXT: Alignment: 1
259 # ELF-LLVM-NEXT: }
260 # ELF-LLVM-NEXT: ProgramHeader {
261 # ELF-LLVM-NEXT: Type: PT_GNU_STACK (0x6474E551)
262 # ELF32-LLVM-NEXT: Offset: 0x314
263 # ELF64-LLVM-NEXT: Offset: 0x548
264 # ELF-LLVM-NEXT: VirtualAddress: 0x1000
265 # ELF-LLVM-NEXT: PhysicalAddress: 0x1000
266 # ELF-LLVM-NEXT: FileSize: 3
267 # ELF-LLVM-NEXT: MemSize: 3
268 # ELF-LLVM-NEXT: Flags [ (0x0)
269 # ELF-LLVM-NEXT: ]
270 # ELF-LLVM-NEXT: Alignment: 1
271 # ELF-LLVM-NEXT: }
272 # ELF-LLVM-NEXT: ProgramHeader {
273 # ELF-LLVM-NEXT: Type: PT_GNU_RELRO (0x6474E552)
274 # ELF32-LLVM-NEXT: Offset: 0x314
275 # ELF64-LLVM-NEXT: Offset: 0x548
276 # ELF-LLVM-NEXT: VirtualAddress: 0x1000
277 # ELF-LLVM-NEXT: PhysicalAddress: 0x1000
278 # ELF-LLVM-NEXT: FileSize: 3
279 # ELF-LLVM-NEXT: MemSize: 3
280 # ELF-LLVM-NEXT: Flags [ (0x0)
281 # ELF-LLVM-NEXT: ]
282 # ELF-LLVM-NEXT: Alignment: 1
283 # ELF-LLVM-NEXT: }
284 # ELF-LLVM-NEXT: ProgramHeader {
285 # ELF-LLVM-NEXT: Type: PT_GNU_PROPERTY (0x6474E553)
286 # ELF32-LLVM-NEXT: Offset: 0x314
287 # ELF64-LLVM-NEXT: Offset: 0x548
288 # ELF-LLVM-NEXT: VirtualAddress: 0x1000
289 # ELF-LLVM-NEXT: PhysicalAddress: 0x1000
290 # ELF-LLVM-NEXT: FileSize: 3
291 # ELF-LLVM-NEXT: MemSize: 3
292 # ELF-LLVM-NEXT: Flags [ (0x0)
293 # ELF-LLVM-NEXT: ]
294 # ELF-LLVM-NEXT: Alignment: 1
295 # ELF-LLVM-NEXT: }
296 # ELF-LLVM-NEXT: ProgramHeader {
297 # ELF-LLVM-NEXT: Type: PT_OPENBSD_RANDOMIZE (0x65A3DBE6)
298 # ELF32-LLVM-NEXT: Offset: 0x314
299 # ELF64-LLVM-NEXT: Offset: 0x548
300 # ELF-LLVM-NEXT: VirtualAddress: 0x1000
301 # ELF-LLVM-NEXT: PhysicalAddress: 0x1000
302 # ELF-LLVM-NEXT: FileSize: 3
303 # ELF-LLVM-NEXT: MemSize: 3
304 # ELF-LLVM-NEXT: Flags [ (0x0)
305 # ELF-LLVM-NEXT: ]
306 # ELF-LLVM-NEXT: Alignment: 1
307 # ELF-LLVM-NEXT: }
308 # ELF-LLVM-NEXT: ProgramHeader {
309 # ELF-LLVM-NEXT: Type: PT_OPENBSD_WXNEEDED (0x65A3DBE7)
310 # ELF32-LLVM-NEXT: Offset: 0x314
311 # ELF64-LLVM-NEXT: Offset: 0x548
312 # ELF-LLVM-NEXT: VirtualAddress: 0x1000
313 # ELF-LLVM-NEXT: PhysicalAddress: 0x1000
314 # ELF-LLVM-NEXT: FileSize: 3
315 # ELF-LLVM-NEXT: MemSize: 3
316 # ELF-LLVM-NEXT: Flags [ (0x0)
317 # ELF-LLVM-NEXT: ]
318 # ELF-LLVM-NEXT: Alignment: 1
319 # ELF-LLVM-NEXT: }
320 # ELF-LLVM-NEXT: ProgramHeader {
321 # ELF-LLVM-NEXT: Type: PT_OPENBSD_BOOTDATA (0x65A41BE6)
322 # ELF32-LLVM-NEXT: Offset: 0x314
323 # ELF64-LLVM-NEXT: Offset: 0x548
324 # ELF-LLVM-NEXT: VirtualAddress: 0x1000
325 # ELF-LLVM-NEXT: PhysicalAddress: 0x1000
326 # ELF-LLVM-NEXT: FileSize: 3
327 # ELF-LLVM-NEXT: MemSize: 3
328 # ELF-LLVM-NEXT: Flags [ (0x0)
329 # ELF-LLVM-NEXT: ]
330 # ELF-LLVM-NEXT: Alignment: 1
331 # ELF-LLVM-NEXT: }
332 # ELF-LLVM-NEXT: ProgramHeader {
333 # ELF-LLVM-NEXT: Type: Unknown (0x6FFFFFFF)
334 # ELF32-LLVM-NEXT: Offset: 0x314
335 # ELF64-LLVM-NEXT: Offset: 0x548
336 # ELF-LLVM-NEXT: VirtualAddress: 0x1000
337 # ELF-LLVM-NEXT: PhysicalAddress: 0x1000
338 # ELF-LLVM-NEXT: FileSize: 3
339 # ELF-LLVM-NEXT: MemSize: 3
340 # ELF-LLVM-NEXT: Flags [ (0x0)
341 # ELF-LLVM-NEXT: ]
342 # ELF-LLVM-NEXT: Alignment: 1
343 # ELF-LLVM-NEXT: }
344 # ELF-LLVM-NEXT: ProgramHeader {
345 # ELF-LLVM-NEXT: Type: Unknown (0x70000000)
346 # ELF32-LLVM-NEXT: Offset: 0x314
347 # ELF64-LLVM-NEXT: Offset: 0x548
348 # ELF-LLVM-NEXT: VirtualAddress: 0x1000
349 # ELF-LLVM-NEXT: PhysicalAddress: 0x1000
350 # ELF-LLVM-NEXT: FileSize: 3
351 # ELF-LLVM-NEXT: MemSize: 3
352 # ELF-LLVM-NEXT: Flags [ (0x0)
353 # ELF-LLVM-NEXT: ]
354 # ELF-LLVM-NEXT: Alignment: 1
355 # ELF-LLVM-NEXT: }
356 # ELF-LLVM-NEXT: ProgramHeader {
357 # ELF-LLVM-NEXT: Type: Unknown (0x70000001)
358 # ELF32-LLVM-NEXT: Offset: 0x314
359 # ELF64-LLVM-NEXT: Offset: 0x548
360 # ELF-LLVM-NEXT: VirtualAddress: 0x1000
361 # ELF-LLVM-NEXT: PhysicalAddress: 0x1000
362 # ELF-LLVM-NEXT: FileSize: 3
363 # ELF-LLVM-NEXT: MemSize: 3
364 # ELF-LLVM-NEXT: Flags [ (0x0)
365 # ELF-LLVM-NEXT: ]
366 # ELF-LLVM-NEXT: Alignment: 1
367 # ELF-LLVM-NEXT: }
368 # ELF-LLVM-NEXT: ProgramHeader {
369 # ELF-LLVM-NEXT: Type: Unknown (0x70000002)
370 # ELF32-LLVM-NEXT: Offset: 0x314
371 # ELF64-LLVM-NEXT: Offset: 0x548
372 # ELF-LLVM-NEXT: VirtualAddress: 0x1000
373 # ELF-LLVM-NEXT: PhysicalAddress: 0x1000
374 # ELF-LLVM-NEXT: FileSize: 3
375 # ELF-LLVM-NEXT: MemSize: 3
376 # ELF-LLVM-NEXT: Flags [ (0x0)
377 # ELF-LLVM-NEXT: ]
378 # ELF-LLVM-NEXT: Alignment: 1
379 # ELF-LLVM-NEXT: }
380 # ELF-LLVM-NEXT: ProgramHeader {
381 # ELF-LLVM-NEXT: Type: Unknown (0x70000003)
382 # ELF32-LLVM-NEXT: Offset: 0x314
383 # ELF64-LLVM-NEXT: Offset: 0x548
384 # ELF-LLVM-NEXT: VirtualAddress: 0x1000
385 # ELF-LLVM-NEXT: PhysicalAddress: 0x1000
386 # ELF-LLVM-NEXT: FileSize: 3
387 # ELF-LLVM-NEXT: MemSize: 3
388 # ELF-LLVM-NEXT: Flags [ (0x0)
389 # ELF-LLVM-NEXT: ]
390 # ELF-LLVM-NEXT: Alignment: 1
391 # ELF-LLVM-NEXT: }
392 # ELF-LLVM-NEXT: ProgramHeader {
393 # ELF-LLVM-NEXT: Type: Unknown (0x7FFFFFFF)
394 # ELF32-LLVM-NEXT: Offset: 0x314
395 # ELF64-LLVM-NEXT: Offset: 0x548
396 # ELF-LLVM-NEXT: VirtualAddress: 0x1000
397 # ELF-LLVM-NEXT: PhysicalAddress: 0x1000
398 # ELF-LLVM-NEXT: FileSize: 3
399 # ELF-LLVM-NEXT: MemSize: 3
400 # ELF-LLVM-NEXT: Flags [ (0x0)
401 # ELF-LLVM-NEXT: ]
402 # ELF-LLVM-NEXT: Alignment: 1
403 # ELF-LLVM-NEXT: }
404 # ELF-LLVM-NEXT: ]
571 # RUN: llvm-readobj --program-headers %tarm.elf | FileCheck %s --check-prefix=ARM-LLVM
577 # ARM-LLVM: ProgramHeader {
578 # ARM-LLVM: Type: Unknown (0x70000000)
579 # ARM-LLVM: ProgramHeader {
580 # ARM-LLVM-NEXT: Type: PT_ARM_EXIDX (0x70000001)
581 # ARM-LLVM: ProgramHeader {
582 # ARM-LLVM-NEXT: Type: Unknown (0x70000002)
587 # RUN: llvm-readobj --program-headers %tmips.elf | FileCheck %s --check-prefix=MIPS-LLVM
594 # MIPS-LLVM: ProgramHeader {
595 # MIPS-LLVM: Type: PT_MIPS_REGINFO (0x70000000)
596 # MIPS-LLVM: ProgramHeader {
597 # MIPS-LLVM-NEXT: Type: PT_MIPS_RTPROC (0x70000001)
598 # MIPS-LLVM: ProgramHeader {
599 # MIPS-LLVM-NEXT: Type: PT_MIPS_OPTIONS (0x70000002)
600 # MIPS-LLVM: ProgramHeader {
601 # MIPS-LLVM-NEXT: Type: PT_MIPS_ABIFLAGS (0x70000003)
665 # RUN: FileCheck %s -DFILE=%t.phdr.err --check-prefix=WARN-PHENTSIZE-LLVM
674 # WARN-PHENTSIZE-LLVM: ProgramHeaders [
675 # WARN-PHENTSIZE-LLVM-NEXT: warning: '[[FILE]]': unable to dump program headers: invalid e_phentsiz…
676 # WARN-PHENTSIZE-LLVM-NEXT: ]
706 # RUN: FileCheck %s -DFILE=%t.phdr.err2 --check-prefix=WARN-PHOFF-LLVM -DOFF=0x161
715 # WARN-PHOFF-LLVM: ProgramHeaders [
716 # WARN-PHOFF-LLVM-NEXT: warning: '[[FILE]]': unable to dump program headers: program headers are lo…
717 # WARN-PHOFF-LLVM-NEXT: ]
725 # RUN: FileCheck %s -DFILE=%t.phdr.err3 --check-prefix=WARN-PHOFF-LLVM -DOFF=0xffffffffffffffff