Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-readobj / elf-packed-relocs-error4.s
blob97aee3a9ce1f34c4b8bd23bcbb6151dde6c51ac6
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: 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