xref: /llvm-project/lldb/test/Shell/ObjectFile/ELF/avr-basic-info.yaml (revision b587ca93be114d07ec3bf654add97d7872325281)
1# RUN: yaml2obj %s -o %t
2# RUN: lldb-test object-file %t | FileCheck %s
3# CHECK: Plugin name: elf
4# CHECK: Architecture: avr--
5# CHECK: Executable: true
6# CHECK: Stripped: false
7# CHECK: Type: executable
8# CHECK: Strata: user
9# CHECK:   Name: .text
10# CHECK-NEXT:   Type: code
11# CHECK-NEXT:   Permissions: r-x
12# CHECK-NEXT:   Thread specific: no
13# CHECK-NEXT:   VM address: 0x0
14# CHECK-NEXT:   VM size: 4
15# CHECK-NEXT:   File size: 4
16
17--- !ELF
18FileHeader:
19  Class:           ELFCLASS32
20  Data:            ELFDATA2LSB
21  Type:            ET_EXEC
22  Machine:         EM_AVR
23  Flags:           [ EF_AVR_ARCH_AVR1, EF_AVR_ARCH_AVR4 ]
24Sections:
25  - Name:            .text
26    Type:            SHT_PROGBITS
27    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
28    AddressAlign:    0x0000000000000001
29    Content:         '0000FECF'
30...
31