llvm-6502/test/DebugInfo
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
..
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 IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
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 Add support for the R_ARM_ABS32 relocation. 2014-04-03 02:27:00 +00:00
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 Reapply "[dwarfdump] Add support for dumping accelerator tables." 2014-11-14 16:15:53 +00:00
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] Prettyprint DW_AT_APPLE_property_attribute bitfield values. 2014-10-10 15:51:10 +00:00
dwarfdump-pubnames.test
dwarfdump-ranges.test [dwarfdump] Dump DW_AT_ranges values inline in the debug_info dump. 2014-10-23 04:08:34 +00:00
dwarfdump-type-units.test
dwarfdump-zlib.test Kill symbolization functionality in llvm-dwarfdump. We have llvm-symbolizer for that. 2014-05-19 18:45:32 +00:00
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 test: XFAIL the non-darwin gmlt test on darwin 2014-10-01 05:45:45 +00:00
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 Kill symbolization functionality in llvm-dwarfdump. We have llvm-symbolizer for that. 2014-05-19 18:45:32 +00:00
llvm-symbolizer.test Remove "REQUIRES:shell" from tests. They work for me. 2014-11-04 13:41:33 +00:00
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 Revert "Revert "DI: Fold constant arguments into a single MDString"" 2014-10-03 20:01:09 +00:00
missing-abstract-variable.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
missing-abstract-variable.o Revert "Revert "DI: Fold constant arguments into a single MDString"" 2014-10-03 20:01:09 +00:00
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