llvm-project/llvm/lib/DebugInfo
Keno Fischer c780e8ebcc 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

llvm-svn: 237961
2015-05-21 21:24:32 +00:00
..
DWARF Make it easier to use DwarfContext with MCJIT 2015-05-21 21:24:32 +00:00
PDB MC: MCCodeGenInfo naming update. NFC. 2015-05-15 19:13:31 +00:00
CMakeLists.txt Resubmit unittests for DebugInfoPDB. 2015-02-07 01:47:14 +00:00
LLVMBuild.txt Resubmit "Create lib/DebugInfo/PDB" (r228428) 2015-02-06 20:30:52 +00:00
Makefile Try to fix Makefile build for LLVMDebugInfoPDB. 2015-02-06 20:42:03 +00:00