blob: cb83efc7e84988804a1692e3911b31b210b5f596 [file] [log] [blame]
Peter Collingbourne689e6c052017-10-25 03:37:12 +00001// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | not llvm-readobj -relocations - 2>&1 | FileCheck %s
2
3// CHECK: Error reading file: malformed sleb128, extends past end
4
5.section .rela.dyn, "a", @0x60000001
6.ascii "APS2"
7.sleb128 4 // Number of relocations
8.sleb128 0 // Initial offset
9
10.sleb128 2 // Number of relocations in group
11.sleb128 2 // RELOCATION_GROUPED_BY_OFFSET_DELTA_FLAG
12.sleb128 8 // offset delta