58 lines · yaml
1# RUN: yaml2obj %s -o %t2# RUN: lldb-test object-file --contents %t | FileCheck %s3#4# CHECK-LABEL: Name: .debug_info5# CHECK: Data: (6# CHECK-NEXT: 0000: 222222227#8# CHECK-LABEL: Name: .debug_lines9# CHECK: Data: (10# CHECK-NEXT: 0000: 3333333311--- !ELF12FileHeader:13 Class: ELFCLASS3214 Data: ELFDATA2LSB15 Type: ET_REL16 Machine: EM_38617Sections:18 - Name: .data19 Type: SHT_PROGBITS20 Flags: [ SHF_WRITE, SHF_ALLOC ]21 AddressAlign: 0x2022 - Name: .debug_info23 Type: SHT_PROGBITS24 AddressAlign: 0x125 Content: 1111111126 - Name: .debug_lines27 Type: SHT_PROGBITS28 AddressAlign: 0x129 Content: 9999999930 - Name: .rel.debug_info31 Type: SHT_REL32 Flags: [ SHF_INFO_LINK ]33 Link: .symtab34 AddressAlign: 0x035 Info: .debug_info36 Relocations:37 - Offset: 0x038 Symbol: var39 Type: R_386_3240 - Name: .rela.debug_lines41 Type: SHT_RELA42 Link: .symtab43 AddressAlign: 0x444 Info: .debug_lines45 Relocations:46 - Offset: 0x047 Addend: 0x2222222248 Symbol: var49 Type: R_386_3250Symbols:51 - Name: var52 Type: STT_OBJECT53 Section: .data54 Binding: STB_GLOBAL55 Value: 0x1111111156 Size: 0x557...58