2017-10-25 12:24:20 +08:00
|
|
|
// REQUIRES: x86-registered-target
|
2019-05-01 13:27:20 +08:00
|
|
|
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | not llvm-readobj -r - 2>&1 | FileCheck %s
|
2017-10-25 11:37:12 +08:00
|
|
|
|
2019-04-15 19:17:48 +08:00
|
|
|
// CHECK: error: malformed sleb128, extends past end
|
2017-10-25 11:37:12 +08:00
|
|
|
|
|
|
|
.section .rela.dyn, "a", @0x60000001
|
|
|
|
.ascii "APS2"
|
|
|
|
.sleb128 4 // Number of relocations
|
|
|
|
.sleb128 0 // Initial offset
|
|
|
|
|
|
|
|
.sleb128 2 // Number of relocations in group
|
|
|
|
.sleb128 2 // RELOCATION_GROUPED_BY_OFFSET_DELTA_FLAG
|
|
|
|
.sleb128 8 // offset delta
|