36 lines · plain
1# RUN: yaml2obj %s -o %t.o2# RUN: llvm-dwarfdump %t.o 2>&1 | FileCheck %s3# CHECK: failed to compute relocation: Unknown4 5!ELF6FileHeader:7 Class: ELFCLASS328 Data: ELFDATA2LSB9 Type: ET_REL10 Machine: EM_38611Sections:12 - Type: SHT_PROGBITS13 Name: .text14 Flags: [ ]15 AddressAlign: 0x0416 Content: "0000"17 - Type: SHT_PROGBITS18 Name: .debug_info19 Flags: [ ]20 AddressAlign: 0x0421 Content: "0000"22 - Type: SHT_REL23 Name: .rel.debug_info24 Link: .symtab25 Info: .debug_info26 Relocations:27 - Offset: 028 Symbol: _start29 Type: 0xFF30Symbols:31 - Name: _start32 Type: STT_FUNC33 Section: .text34 Value: 0x035 Binding: STB_GLOBAL36