28 lines · yaml
1# REQUIRES: lld2 3# RUN: yaml2obj %s -o %t.o4# RUN: ld.lld %t.o -o %t --image-base 0x470005# RUN: lldb-test object-file %t | FileCheck %s6 7# CHECK: Plugin name: elf8# CHECK: Architecture: x86_64--9# CHECK: Executable: true10# CHECK: Stripped: false11# CHECK: Type: executable12# CHECK: Strata: user13# CHECK: Base VM address: 0x4700014 15--- !ELF16FileHeader: 17 Class: ELFCLASS6418 Data: ELFDATA2LSB19 Type: ET_REL20 Machine: EM_X86_6421Sections: 22 - Name: .text23 Type: SHT_PROGBITS24 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]25 AddressAlign: 0x000000000000001026 Content: 554889E55DC327...28