1# RUN: yaml2obj %s > %t
2# RUN: llvm-objdump -a %t | FileCheck %s
3
4# If this test has not crashed, then this test passed.
5# CHECK: file format ELF64-x86-64
6
7!ELF
8FileHeader:
9  Class:           ELFCLASS64
10  Data:            ELFDATA2LSB
11  Type:            ET_EXEC
12  Machine:         EM_X86_64
13Sections:
14  - Name:            .bss
15    Type:            SHT_NOBITS
16    Flags:           [ SHF_ALLOC ]
17    AddressAlign:    0x0000000000000010
18    Size:            64
19  - Name:            .text
20    Type:            SHT_PROGBITS
21    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
22    AddressAlign:    0x0000000000000010
23    Content:         "01234567"
24    Size:            4
25
26