author | Mark Seaborn <mseaborn@chromium.org> | |
Sat, 25 Jan 2014 17:38:19 +0000 (17:38 +0000) | ||
committer | Mark Seaborn <mseaborn@chromium.org> | |
Sat, 25 Jan 2014 17:38:19 +0000 (17:38 +0000) | ||
commit | 2effd6cdc1e691e5663c35bd1787b73d6e900811 | |
tree | eae4c4dd471f61e8820425ec9db31576b7d88b8d | tree | snapshot (tar.xz tar.gz zip) |
parent | 858594edb016f3b934261a09fae86c74b7b06c3a | commit | diff |
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200090 91177308-0d34-0410-b5e6-96231b3b80d8
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200090 91177308-0d34-0410-b5e6-96231b3b80d8
test/Object/X86/objdump-disassembly-inline-relocations.test | diff | blob | history | |
tools/llvm-objdump/llvm-objdump.cpp | diff | blob | history |