21 lines · plain
1# RUN: yaml2obj %s -o %t2# RUN: llvm-objcopy --strip-sections --only-section=.test %t %t23# RUN: od -Ax -t x1 %t2 | FileCheck %s4# RUN: od -Ax -t c %t2 | FileCheck %s --check-prefix=TEXT5 6!ELF7FileHeader:8 Class: ELFCLASS649 Data: ELFDATA2LSB10 Type: ET_REL11 Machine: EM_X86_6412Sections:13 - Name: .test14 Type: SHT_PROGBITS15 Flags: [ ]16 Content: "DEADBEEF"17 18# CHECK: de ad be ef19 20# TEXT-NOT: t e s t21