"Unknown" for platforms that were not manually added into the switch
did not make sense at all. Now it prints Target + addend for all
elf-machines that were not explicitly mentioned.
Addresses PR21059 and PR25124.
Paths
| Differential D36464
Implemented sane default for llvm-objdump's relocation Value format ClosedPublic Authored by dcederman on Aug 8 2017, 6:41 AM.
Details Summary "Unknown" for platforms that were not manually added into the switch Addresses PR21059 and PR25124.
Diff Detail
Event TimelineComment Actions Initially this problem was mentioned to me by James during https://reviews.llvm.org/D35567 review.
Comment Actions Hello, I got referred to this revision by @jyknight after I created a patch to add Sparc to the list in getRelocationValueString. Changing the default does seem like a better approach, so I will update this revision following the comment. I hope that is ok. This revision is now accepted and ready to land.May 31 2018, 8:42 AM Closed by commit rL333726: Implemented sane default for llvm-objdump's relocation Value format (authored by dcederman). · Explain WhyMay 31 2018, 10:38 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 149400 llvm/trunk/test/DebugInfo/X86/DW_AT_location-reference.ll
llvm/trunk/test/MC/Sparc/sparc-tls-relocations.s
llvm/trunk/test/MC/X86/abs8.s
llvm/trunk/test/Object/X86/objdump-disassembly-inline-relocations.test
llvm/trunk/test/Object/objdump-relocations.test
llvm/trunk/test/Object/objdump-shndx.test
llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp
|