summaryrefslogtreecommitdiffstats
path: root/lldb/test/Shell/ObjectFile/ELF/basic-info.yaml
blob: 0e1db67e9d5f7c37dae6805ce48d4cac145ebd45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# REQUIRES: lld

# RUN: yaml2obj %s > %t.o
# RUN: ld.lld %t.o -o %t -image-base 0x47000
# RUN: lldb-test object-file %t | FileCheck %s

# CHECK: Plugin name: elf
# CHECK: Architecture: x86_64--
# CHECK: Executable: true
# CHECK: Stripped: false
# CHECK: Type: executable
# CHECK: Strata: user
# CHECK: Base VM address: 0x47000

--- !ELF
FileHeader:      
  Class:           ELFCLASS64
  Data:            ELFDATA2LSB
  Type:            ET_REL
  Machine:         EM_X86_64
Sections:        
  - Name:            .text
    Type:            SHT_PROGBITS
    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
    AddressAlign:    0x0000000000000010
    Content:         554889E55DC3
...
OpenPOWER on IntegriCloud