1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/DebugInfo
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
..
AArch64 [DebugInfo] Debug locations for constant SD nodes 2015-05-13 08:58:03 +00:00
ARM [DebugInfo] Debug locations for constant SD nodes 2015-05-13 08:58:03 +00:00
COFF IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
Inputs Temporary delete the test while we're investigating crashes in LLVMObject it causes. 2015-05-20 17:01:06 +00:00
Mips IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
PDB [llvm-pdbdump] Display full enum definitions. 2015-03-04 06:09:53 +00:00
PowerPC IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
Sparc IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
SystemZ IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
X86 DwarfDebug: Emit number of bytes in .debug_loc entry directly 2015-05-06 19:11:20 +00:00
2009-10-16-Phi.ll
2009-11-03-InsertExtractValue.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2009-11-05-DeadGlobalVariable.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2009-11-06-NamelessGlobalVariable.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2009-11-10-CurrentFn.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2010-01-05-DbgScope.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2010-03-12-llc-crash.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2010-03-19-DbgDeclare.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2010-03-24-MemberFn.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2010-04-06-NestedFnDbgInfo.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2010-04-19-FramePtr.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2010-05-03-DisableFramePtr.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2010-05-03-OriginDIE.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2010-05-10-MultipleCU.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2010-06-29-InlinedFnLocalVar.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2010-07-19-Crash.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2010-10-01-crash.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
accel-table-hash-collisions.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
arm-relocs.test
array.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
block-asan.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
bug_null_debuginfo.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
constant-pointers.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
constant-sdnodes-have-dbg-location.ll [DebugInfo] Debug locations for constant SD nodes 2015-05-13 08:58:03 +00:00
constantfp-sdnodes-have-dbg-location.ll [DebugInfo] Debug locations for constant SD nodes 2015-05-13 08:58:03 +00:00
cross-cu-inlining.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
cross-cu-linkonce-distinct.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
cross-cu-linkonce.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
cu-range-hole.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
cu-ranges.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
dead-argument-order.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
debug-info-always-inline.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
debug-info-qualifiers.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
debuginfofinder-forward-declaration.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
debuginfofinder-multiple-cu.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
debuglineinfo.test Make it easier to use DwarfContext with MCJIT 2015-05-21 21:24:32 +00:00
dwarf-public-names.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
dwarfdump-accel.test
dwarfdump-debug-frame-simple.test [dwarfdump] Make debug_frame dump actually useful. 2015-02-25 21:30:22 +00:00
dwarfdump-debug-loc-simple.test
dwarfdump-dump-flags.test
dwarfdump-line-dwo.test
dwarfdump-objc.test
dwarfdump-pubnames.test
dwarfdump-ranges.test
dwarfdump-type-units.test
dwarfdump-zlib.test
empty.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
enum-types.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
enum.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
global.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
gmlt.test
incorrect-variable-debugloc1.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
incorrect-variable-debugloc.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
inheritance.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
inline-debug-info-multiret.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
inline-debug-info.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
inline-no-debug-info.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
inline-scopes.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
inlined-arguments.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
inlined-vars.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
llvm-symbolizer-zlib.test
llvm-symbolizer.test
location-verifier.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
lto-comp-dir.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
member-order.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
member-pointers.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
member-pointers.o
missing-abstract-variable.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
missing-abstract-variable.o
multiline.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
namespace_function_definition.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
namespace_inline_function_definition.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
namespace.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
nodebug.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
piece-verifier.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
PR20038.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
restrict.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
sugared-constants.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
template-recursive-void.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
tu-composite.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
tu-member-pointer.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
two-cus-from-same-file.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
typedef.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
unconditional-branch.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
varargs.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
version.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00