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
11 - Name: .llvm.offloading
12 Type: SHT_LLVM_OFFLOADING
13 Flags: [ SHF_EXCLUDE ]
16 AddressAlign: 0x0000000000000008
18 # CHECK: error: '[[FILENAME]]': while extracting offloading files: The end of the file was unexpectedly encountered