xref: /llvm-project/lldb/test/Shell/ObjectFile/ELF/basic-info.yaml (revision 4c8ea90b252eeead9a6943f67444a229147949fb)
1# REQUIRES: lld
2
3# RUN: yaml2obj %s -o %t.o
4# RUN: ld.lld %t.o -o %t --image-base 0x47000
5# RUN: lldb-test object-file %t | FileCheck %s
6
7# CHECK: Plugin name: elf
8# CHECK: Architecture: x86_64--
9# CHECK: Executable: true
10# CHECK: Stripped: false
11# CHECK: Type: executable
12# CHECK: Strata: user
13# CHECK: Base VM address: 0x47000
14
15--- !ELF
16FileHeader:      
17  Class:           ELFCLASS64
18  Data:            ELFDATA2LSB
19  Type:            ET_REL
20  Machine:         EM_X86_64
21Sections:        
22  - Name:            .text
23    Type:            SHT_PROGBITS
24    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
25    AddressAlign:    0x0000000000000010
26    Content:         554889E55DC3
27...
28