• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// REQUIRES: x86-registered-target
2// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | not llvm-readobj -relocations - 2>&1 | FileCheck %s
3
4// CHECK: Error reading file: malformed sleb128, extends past end
5
6.section .rela.dyn, "a", @0x60000001
7.ascii "APS2"
8.sleb128 4 // Number of relocations
9.sleb128 0 // Initial offset
10
11.sleb128 2 // Number of relocations in group
12.sleb128 2 // RELOCATION_GROUPED_BY_OFFSET_DELTA_FLAG
13.sleb128 8 // offset delta
14