[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / tools / llvm-objdump / Offloading / failure.test
blob5b4cbdb29b0e66973846c17fbbf01f8c2f115e22
1 # RUN: yaml2obj %s -o %t
2 # RUN: not llvm-objdump --offloading %t 2>&1 | FileCheck -DFILENAME=%t %s
4 !ELF
5 FileHeader:
6   Class:           ELFCLASS64
7   Data:            ELFDATA2LSB
8   Type:            ET_EXEC
9 Sections:
10   - Name:            .llvm.offloading
11     Type:            SHT_LLVM_OFFLOADING
12     Flags:           [ SHF_EXCLUDE ]
13     Address:         0x0
14     AddressAlign:    0x0000000000000008
15     Content:         "10ffb0ad"
17 # CHECK: error: '[[FILENAME]]': while extracting offloading files: Invalid data was encountered while parsing the file