33 lines · yaml
1# RUN: yaml2obj %s -o %t2# RUN: llvm-objcopy --strip-all --add-gnu-debuglink=%t %t %t.stripped3# RUN: lldb-test object-file %t.stripped | FileCheck %s4 5# CHECK: Name: .debug_frame6# CHECK-NEXT: Type: dwarf-frame7 8--- !ELF9FileHeader:10 Class: ELFCLASS6411 Data: ELFDATA2LSB12 Type: ET_EXEC13 Machine: EM_X86_6414 Entry: 0x00000000004003D015Sections:16 - Name: .text17 Type: SHT_PROGBITS18 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]19 Address: 0x00000000004003D020 AddressAlign: 0x000000000000001021 Content: DEADBEEFBAADF00D22 - Name: .debug_frame23 Type: SHT_PROGBITS24 AddressAlign: 0x000000000000000825 Content: DEADBEEFBAADF00D26Symbols:27 - Name: main28 Type: STT_FUNC29 Section: .text30 Value: 0x00000000004003D031 Size: 0x000000000000000832...33