mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-26 06:04:47 +00:00
Add a testcase that would have found the bug in r263971.
llvm-svn: 263988
This commit is contained in:
parent
e66d2ebd4e
commit
fcaf4310a8
BIN
test/Object/Inputs/dynamic-reloc.so
Executable file
BIN
test/Object/Inputs/dynamic-reloc.so
Executable file
Binary file not shown.
12
test/Object/dynamic-reloc.test
Normal file
12
test/Object/dynamic-reloc.test
Normal file
@ -0,0 +1,12 @@
|
||||
RUN: llvm-readobj -r %p/Inputs/dynamic-reloc.so | FileCheck --check-prefix=READOBJ %s
|
||||
|
||||
READOBJ: Relocations [
|
||||
READOBJ-NEXT: Section (4) .rela.dyn {
|
||||
READOBJ-NEXT: 0x1328 R_X86_64_RELATIVE - 0x1320
|
||||
READOBJ-NEXT: }
|
||||
READOBJ-NEXT: ]
|
||||
|
||||
RUN: llvm-objdump -r %p/Inputs/dynamic-reloc.so | FileCheck --check-prefix=OBJDUMP %s
|
||||
|
||||
OBJDUMP: file format ELF64-x86-64
|
||||
OBJDUMP-NOT: RELOCATION
|
Loading…
x
Reference in New Issue
Block a user