1 ## Ensure we can read the contents even if the alignment is bad.
2 # RUN: yaml2obj %s -o %t.elf
3 # RUN: yaml2obj %S/Inputs/binary.yaml -o %t.bin
4 # RUN: llvm-objcopy --update-section .llvm.offloading=%t.bin %t.elf
5 # RUN: llvm-objdump --offloading %t.elf | FileCheck %s -DFILENAME=%t
15 AddressAlign: 0x0000000000000001
17 - Name: .llvm.offloading
18 Type: SHT_LLVM_OFFLOADING
19 Flags: [ SHF_EXCLUDE ]
20 AddressAlign: 0x0000000000000001
22 # CHECK-NOT: error: '[[FILENAME]]': while extracting offloading files: Invalid data was encountered while parsing the file