diff options
author | Mark Seaborn <mseaborn@chromium.org> | 2014-01-25 17:38:19 +0000 |
---|---|---|
committer | Mark Seaborn <mseaborn@chromium.org> | 2014-01-25 17:38:19 +0000 |
commit | 0929d3d8551edfb09a7f8ab98f854dad466276a7 (patch) | |
tree | 543a41b6f637434b1104f2f0d8844a538d0008ce /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 336e1f117932dd1845a30e242803ee1b0e77b106 (diff) | |
download | llvm-0929d3d8551edfb09a7f8ab98f854dad466276a7.zip llvm-0929d3d8551edfb09a7f8ab98f854dad466276a7.tar.gz llvm-0929d3d8551edfb09a7f8ab98f854dad466276a7.tar.bz2 |
Fix "llvm-objdump -d -r" to show relocations inline for ELF files
This fixes a regression introduced by r182908, which broke
llvm-objdump's ability to display relocations inline in a disassembly
dump for ELF object files.
That change removed a SectionRelocMap from Object/ELF.h, which we
recreate in llvm-objdump.cpp.
I discovered this regression via an out-of-tree test
(test/NaCl/X86/pnacl-hides-sandbox-x86-64.ll) which used llvm-objdump.
Note that the "Unknown" string in the test output on i386 isn't quite
right, but this appears to be a pre-existing bug.
Differential Revision: http://llvm-reviews.chandlerc.com/D2559
llvm-svn: 200090
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions