• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: yaml2obj %s -o %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  - Name:     _start
32    Type:     STT_FUNC
33    Section:  .text
34    Value:    0x0
35    Binding:  STB_GLOBAL
36