1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 06:22:56 +02:00
llvm-mirror/include/llvm/Object
Keno Fischer e81cbbea60 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
..
Archive.h Object: Add range iterators to Archive symbols 2015-03-04 02:05:06 +00:00
Binary.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
COFF.h Make it easier to use DwarfContext with MCJIT 2015-05-21 21:24:32 +00:00
COFFYAML.h obj2yaml, yaml2obj: Add support for COFF executables 2014-11-14 08:15:42 +00:00
ELF.h [Object][ELF] ELFEntityIterator : Add operators for random access 2015-03-17 15:44:20 +00:00
ELFObjectFile.h Make it easier to use DwarfContext with MCJIT 2015-05-21 21:24:32 +00:00
ELFTypes.h [llvm-readobj] Print .MIPS.abiflags section content 2015-05-07 15:40:35 +00:00
ELFYAML.h [obj2yaml/yaml2obj] Add SHT_MIPS_ABIFLAGS section support 2015-05-07 15:40:48 +00:00
Error.h LTO: introduce object file-based on-disk module format. 2014-09-18 21:28:49 +00:00
IRObjectFile.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
MachO.h Make it easier to use DwarfContext with MCJIT 2015-05-21 21:24:32 +00:00
MachOUniversal.h [llvm-readobj] add support for macho universal binary. 2015-03-24 20:26:55 +00:00
ObjectFile.h Make it easier to use DwarfContext with MCJIT 2015-05-21 21:24:32 +00:00
RelocVisitor.h Constify input argument of RelocVisitor and DWARFContext constructors. NFC. 2014-10-20 20:28:51 +00:00
SymbolicFile.h [Object] Teach Object and llvm-objdump about ".hidden" 2015-04-30 23:08:53 +00:00