Peter Collingbourne | 689e6c05 | 2017-10-25 03:37:12 +0000 | [diff] [blame] | 1 | // 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 |