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