26 lines · plain
1# RUN: yaml2obj %s -o %t2# RUN: llvm-objcopy -O binary %t %t23# RUN: od -t x2 -v %t2 | FileCheck %s --ignore-case4# RUN: wc -c < %t2 | FileCheck %s --check-prefix=SIZE5 6!ELF7FileHeader:8 Class: ELFCLASS649 Data: ELFDATA2LSB10 Type: ET_EXEC11 Machine: EM_X86_6412Sections:13 - Name: .text14 Type: SHT_PROGBITS15 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]16 AddressAlign: 0x000000000000100017 Content: "c3c3c3c3"18ProgramHeaders:19 - Type: PT_LOAD20 Flags: [ PF_X, PF_R ]21 FirstSec: .text22 LastSec: .text23 24# CHECK: 0000000 c3c3 c3c325# SIZE: 426