llvm-6502/tools/llvm-objdump
Keno Fischer b6976af3cd Make it easier to use DwarfContext with MCJIT
Summary:
This supersedes http://reviews.llvm.org/D4010, hopefully properly
dealing with the JIT case and also adds an actual test case.
DwarfContext was basically already usable for the JIT (and back when
we were overwriting ELF files it actually worked out of the box by
accident), but in order to resolve relocations correctly it needs
to know the load address of the section.
Rather than trying to get this out of the ObjectFile or requiring
the user to create a new ObjectFile just to get some debug info,
this adds the capability to pass in that info directly.
As part of this I separated out part of the LoadedObjectInfo struct
from RuntimeDyld, since it is now required at a higher layer.

Reviewers: lhames, echristo

Reviewed By: echristo

Subscribers: vtjnash, friss, rafael, llvm-commits

Differential Revision: http://reviews.llvm.org/D6961

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237961 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-21 21:24:32 +00:00
..
CMakeLists.txt Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00
COFFDump.cpp Rename data -> Data 2014-10-02 22:13:44 +00:00
ELFDump.cpp [Object] Split the ELF interface into 3 parts. 2013-08-08 22:27:13 +00:00
llvm-objdump.cpp [Object] Teach Object and llvm-objdump about ".hidden" 2015-04-30 23:08:53 +00:00
llvm-objdump.h Add the option -objc-meta-data to llvm-objdump used with -macho to 2015-04-01 20:57:01 +00:00
LLVMBuild.txt Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00
MachODump.cpp Make it easier to use DwarfContext with MCJIT 2015-05-21 21:24:32 +00:00
Makefile Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00