1# Test to check if we fail to get the section contents. 2# RUN: yaml2obj %s -o %t 3# RUN: not llvm-objdump --offloading %t 2>&1 | FileCheck -DFILENAME=%t %s 4 5!ELF 6FileHeader: 7 Class: ELFCLASS64 8 Data: ELFDATA2LSB 9 Type: ET_EXEC 10Sections: 11 - Name: .llvm.offloading 12 Type: SHT_LLVM_OFFLOADING 13 Flags: [ SHF_EXCLUDE ] 14 Address: 0x0 15 ShOffset: 0x99999 16 AddressAlign: 0x0000000000000008 17 18# CHECK: error: '[[FILENAME]]': while extracting offloading files: The end of the file was unexpectedly encountered 19