mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-30 08:24:12 +00:00
6c1202c459
In ELF (as in MachO), not all relocations point to symbols. Represent this properly by using a symbol_iterator instead of a SymbolRef. Update llvm-readobj ELF's dumper to handle relocatios without symbols. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183284 91177308-0d34-0410-b5e6-96231b3b80d8
8 lines
220 B
Plaintext
8 lines
220 B
Plaintext
RUN: llvm-readobj -r %p/Inputs/elf-reloc-no-sym.x86_64 | FileCheck %s
|
|
|
|
CHECK: Relocations [
|
|
CHECK-NEXT: Section (1) .rela.plt {
|
|
CHECK-NEXT: 0x4011D8 R_X86_64_IRELATIVE - 0x400120
|
|
CHECK-NEXT: }
|
|
CHECK-NEXT: ]
|