[llvm-readobj] - Remove deprecated unwrapOrError(Expected<T> EO).
[llvm-complete.git] / test / tools / llvm-readobj / elf-packed-relocs-error4.s
blob05b954108982085edc35ffdb607e434fff0db48e
1 // REQUIRES: x86-registered-target
2 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | not llvm-readobj -r - 2>&1 | FileCheck %s
4 // CHECK: error: '<stdin>': malformed sleb128, extends past end
6 .section .rela.dyn, "a", @0x60000001
7 .ascii "APS2"
8 .sleb128 4 // Number of relocations
9 .sleb128 0 // Initial offset
11 .sleb128 2 // Number of relocations in group
12 .sleb128 2 // RELOCATION_GROUPED_BY_OFFSET_DELTA_FLAG
13 .sleb128 8 // offset delta