blob: 9621ca5a1cd612008f12dc6cd0d6747a41e63573 [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