llvm-6502/test/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
..
ARM Reduce verbiage of lit.local.cfg files 2014-06-09 22:42:55 +00:00
Inputs [llvm-readobj][ELF] New -mips-plt-got command line option to output 2014-06-18 08:47:09 +00:00
codeview-linetables.test Teach the llvm-readobj COFF dumper to dump debug line tables from object files 2013-12-19 11:37:14 +00:00
coff-file-sections-reading.test tools: fix invalid printing, buffer overrun in llvm-readobj 2014-04-16 04:15:29 +00:00
coff-non-null-terminated-file.test tools: address possible non-null terminated filenames 2014-04-14 02:37:23 +00:00
coff-zero-string-table.test Relax COFF string table check 2014-02-26 19:51:44 +00:00
cxx-cli-aux.test llvm-readobj: Print referred symbol name for CLR token definition 2014-03-17 01:46:52 +00:00
dynamic.test [llvm-readobj] Print values of FLAGS and MIPS_FLAGS dynamic table tags 2014-05-11 08:48:09 +00:00
file-headers.test Object/COFF: Add function to check if section number is reserved one. 2014-03-18 23:37:53 +00:00
mips-got.test [llvm-readobj][ELF] New -mips-plt-got command line option to output 2014-06-18 08:47:09 +00:00
peplus.test Rename IMAGE_DLL_CHARACTERISTICS_HIGH_ENTROPY_VA. 2014-01-27 04:22:24 +00:00
program-headers.test [ELF][Mips] Fix recognition of MIPS 64-bit arch in the ELFObjectFile:getArch() method. 2014-06-27 11:36:45 +00:00
reloc-types.test Remove the mblaze backend from llvm. 2013-07-25 18:55:05 +00:00
relocations.test llvm-readobj: fix MachO relocatoin printing a bit. 2014-07-04 10:57:56 +00:00
rpath.test Print string value for DT_RPATH and DT_RUNPATH. 2013-09-03 17:13:53 +00:00
sections-ext.test llvm-readobj: fix MachO relocatoin printing a bit. 2014-07-04 10:57:56 +00:00
sections.test At Jim Grosbach's request detemplate Object/MachO.h. 2013-04-18 18:08:55 +00:00
symbols.test Teach llvm-readobj to print human friendly description of reserved sections. 2014-03-24 05:00:34 +00:00