llvm-6502/tools/llvm-readobj
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
..
ARMAttributeParser.cpp [C++] Use 'nullptr'. Tools edition. 2014-04-25 04:24:47 +00:00
ARMAttributeParser.h tools: add support for decoding ARM attributes 2014-01-30 04:46:33 +00:00
ARMEHABIPrinter.h Remove all uses of 'using std::error_code' from headers. 2014-06-13 01:25:41 +00:00
ARMWinEHPrinter.cpp Rephrase loop so it doesn't leave unused bools around in Release mode. 2014-07-01 14:46:44 +00:00
ARMWinEHPrinter.h Remove all uses of 'using std::error_code' from headers. 2014-06-13 01:25:41 +00:00
CMakeLists.txt tools: initial implementation of WoA EH decoding 2014-06-04 15:47:15 +00:00
COFFDumper.cpp Support: update DLLCharacteristics enumeration 2014-06-27 03:11:18 +00:00
ELFDumper.cpp [llvm-readobj] Fix member functions name style. 2014-06-18 09:24:01 +00:00
Error.cpp Remove unused and odd code. 2014-06-13 15:36:17 +00:00
Error.h Remove all uses of 'using std::error_code' from headers. 2014-06-13 01:25:41 +00:00
llvm-readobj.cpp [llvm-readobj][ELF] New -mips-plt-got command line option to output 2014-06-18 08:47:09 +00:00
llvm-readobj.h [llvm-readobj][ELF] New -mips-plt-got command line option to output 2014-06-18 08:47:09 +00:00
LLVMBuild.txt Don't link with the archive library programs that don't use it. 2013-06-17 15:29:46 +00:00
MachODumper.cpp llvm-readobj: fix MachO relocatoin printing a bit. 2014-07-04 10:57:56 +00:00
Makefile Don't link with the archive library programs that don't use it. 2013-06-17 15:29:46 +00:00
ObjDumper.cpp Re-sort #include lines again, prior to moving headers around. 2014-01-13 08:04:33 +00:00
ObjDumper.h [llvm-readobj][ELF] New -mips-plt-got command line option to output 2014-06-18 08:47:09 +00:00
StreamWriter.cpp Implements low-level object file format specific output for COFF and 2013-04-03 18:31:38 +00:00
StreamWriter.h tools: introduce StreamWriter::printBoolean 2014-06-04 15:47:11 +00:00
Win64EHDumper.cpp Revert "Introduce a string_ostream string builder facilty" 2014-06-26 22:52:05 +00:00
Win64EHDumper.h Remove all uses of 'using std::error_code' from headers. 2014-06-13 01:25:41 +00:00