20 lines · plain
1# RUN: yaml2obj %s -o %t2# RUN: llvm-objcopy -R=.test --only-section=.test %t %t23# RUN: llvm-readobj --file-headers --sections %t2 | FileCheck %s4 5!ELF6FileHeader:7 Class: ELFCLASS648 Data: ELFDATA2LSB9 Type: ET_REL10 Machine: EM_X86_6411Sections:12 - Name: .test13 Type: SHT_PROGBITS14 Flags: [ ]15 16# CHECK: SectionHeaderCount: 317 18# CHECK: Name: .test19# CHECK: Name: .shstrtab20