blob: 2252e1a205c3d69183f02db18fcf22b82c4d6987 [file] [log] [blame]
George Rimarcd735552017-07-11 12:29:07 +00001# RUN: yaml2obj %s > %t.o
2# RUN: llvm-dwarfdump %t.o 2>&1 | FileCheck %s
3# CHECK: failed to compute relocation: Unknown
4
5!ELF
6FileHeader:
7 Class: ELFCLASS32
8 Data: ELFDATA2LSB
9 Type: ET_REL
10 Machine: EM_386
11Sections:
12 - Type: SHT_PROGBITS
13 Name: .text
14 Flags: [ ]
15 AddressAlign: 0x04
16 Content: "0000"
17 - Type: SHT_PROGBITS
18 Name: .debug_info
19 Flags: [ ]
20 AddressAlign: 0x04
21 Content: "0000"
22 - Type: SHT_REL
23 Name: .rel.debug_info
24 Link: .symtab
25 Info: .debug_info
26 Relocations:
27 - Offset: 0
28 Symbol: _start
29 Type: 0xFF
30Symbols:
31 Global:
32 - Name: _start
33 Type: STT_FUNC
34 Section: .text
35 Value: 0x0