llvm-6502/lib/Object
Tim Northover 5b003bb869 llvm-readobj: fix MachO relocatoin printing a bit.
There were two issues here:
1. At the very least, scattered relocations cannot use the same code to
   determine the corresponding symbol being referred to. For some reason we
   pretend there is no symbol, even when one actually exists in the symtab, so to
   match this behaviour getRelocationSymbol should simply return symbols_end for
   scattered relocations.
2. Printing "-" when we can't get a symbol (including the scattered case, but
   not exclusively), isn't that helpful. In both cases there *is* interesting
   information in that field, so we should print it. As hex will do.

Small part of rdar://problem/17553104

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212332 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-04 10:57:56 +00:00
..
Archive.cpp Pass a unique_ptr<MemoryBuffer> to the constructors in the Binary hierarchy. 2014-06-24 13:56:32 +00:00
Binary.cpp Pass a unique_ptr<MemoryBuffer> to the constructors in the Binary hierarchy. 2014-06-24 13:56:32 +00:00
CMakeLists.txt Add support for inline asm symbols to IRObjectFile. 2014-07-03 18:59:23 +00:00
COFFObjectFile.cpp Pass a unique_ptr<MemoryBuffer> to the constructors in the Binary hierarchy. 2014-06-24 13:56:32 +00:00
COFFYAML.cpp
ELF.cpp
ELFObjectFile.cpp Replace two release calls with std::move. I missed this on the previous commit. 2014-06-24 14:25:17 +00:00
ELFYAML.cpp
Error.cpp Remove unused and odd code. 2014-06-13 15:36:17 +00:00
IRObjectFile.cpp Move createIRObjectFile to the IRObjectFile class and return the concrete type. 2014-07-03 23:03:50 +00:00
LLVMBuild.txt Add support for inline asm symbols to IRObjectFile. 2014-07-03 18:59:23 +00:00
MachOObjectFile.cpp llvm-readobj: fix MachO relocatoin printing a bit. 2014-07-04 10:57:56 +00:00
MachOUniversal.cpp Pass a unique_ptr<MemoryBuffer> to the constructors in the Binary hierarchy. 2014-06-24 13:56:32 +00:00
Makefile
Object.cpp Pass a std::unique_ptr& to the create??? methods is lib/Object. 2014-06-23 22:00:37 +00:00
ObjectFile.cpp Pass a unique_ptr<MemoryBuffer> to the constructors in the Binary hierarchy. 2014-06-24 13:56:32 +00:00
RecordStreamer.cpp Add support for inline asm symbols to IRObjectFile. 2014-07-03 18:59:23 +00:00
SymbolicFile.cpp Pass a unique_ptr<MemoryBuffer> to the constructors in the Binary hierarchy. 2014-06-24 13:56:32 +00:00