19 lines · plain
1# Test to check if we fail to get the section contents.2# RUN: yaml2obj %s -o %t3# RUN: not llvm-objdump --offloading %t 2>&1 | FileCheck -DFILENAME=%t %s4 5!ELF6FileHeader:7 Class: ELFCLASS648 Data: ELFDATA2LSB9 Type: ET_EXEC10Sections:11 - Name: .llvm.offloading12 Type: SHT_LLVM_OFFLOADING13 Flags: [ SHF_EXCLUDE ]14 Address: 0x015 ShOffset: 0x9999916 AddressAlign: 0x000000000000000817 18# CHECK: error: '[[FILENAME]]': while extracting offloading files: The end of the file was unexpectedly encountered19