blob: bad00228492a61a547a1405d036f7612f6e63fe0 [file] [log] [blame]
Jake Ehrlichef3b80c2017-11-30 20:14:53 +00001# RUN: yaml2obj %s > %t
2# RUN: llvm-objcopy -strip-non-alloc -only-keep=.test %t %t2
3# RUN: llvm-readobj -file-headers -sections %t2 | FileCheck %s
4
5!ELF
6FileHeader:
7 Class: ELFCLASS64
8 Data: ELFDATA2LSB
9 Type: ET_REL
10 Machine: EM_X86_64
11Sections:
12 - Name: .test
13 Type: SHT_PROGBITS
14 Flags: [ ]
15
16# CHECK: SectionHeaderCount: 3
17
18# CHECK: Name: .test
19# CHECK: Name: .shstrtab