1# RUN: yaml2obj %s -o %t.o 2# RUN: not llvm-readobj -r %t.o 2>&1 | FileCheck %s 3 4# CHECK: Error reading file: unaligned data 5 6--- !ELF 7FileHeader: 8 Class: ELFCLASS64 9 Data: ELFDATA2LSB 10 Type: ET_REL 11 Machine: EM_X86_64 12Sections: 13 - Name: .foo 14 Type: SHT_PROGBITS 15 Content: 42 16 - Name: .rela.foo 17 Type: SHT_RELA 18 Info: .foo 19 Relocations: 20 - Offset: 0 21 Type: R_X86_64_NONE 22