From 6c1202c459ffa6d693ad92fa84e43902bc780bca Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 5 Jun 2013 01:33:53 +0000 Subject: Handle relocations that don't point to symbols. 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 --- test/Object/Inputs/elf-reloc-no-sym.x86_64 | Bin 0 -> 1768 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100755 test/Object/Inputs/elf-reloc-no-sym.x86_64 (limited to 'test/Object/Inputs/elf-reloc-no-sym.x86_64') diff --git a/test/Object/Inputs/elf-reloc-no-sym.x86_64 b/test/Object/Inputs/elf-reloc-no-sym.x86_64 new file mode 100755 index 0000000000..a41b4e0d78 Binary files /dev/null and b/test/Object/Inputs/elf-reloc-no-sym.x86_64 differ -- cgit v1.2.3