llvm-6502/test/DebugInfo
Manman Ren b8b70e10a2 Debug Info: remove duplication of DIEs when a DIE can be shared across CUs.
We add a map in DwarfDebug to map MDNodes that are shareable across CUs to the
corresponding DIEs: MDTypeNodeToDieMap. These DIEs can be shared across CUs,
that is why we keep the maps in DwarfDebug instead of CompileUnit.

We make the assumption that if a DIE is not added to an owner yet, we assume
it belongs to the current CU. Since DIEs for the type system are added to
their owners immediately after creation, and other DIEs belong to the current
CU, the assumption should be true.

A testing case is added to show that we only create a single DIE for a type
MDNode and we use ref_addr to refer to the type DIE.

We also add a testing case to show ref_addr relocations for non-darwin
platforms.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193779 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-31 17:54:35 +00:00
..
AArch64
ARM typo. 2013-10-08 02:30:54 +00:00
Inputs Add DebugInfo testcase for high_pc encoded as constant, fixed in r193555. 2013-10-30 20:27:17 +00:00
PowerPC
SystemZ
X86 Debug Info: remove duplication of DIEs when a DIE can be shared across CUs. 2013-10-31 17:54:35 +00:00
2009-10-16-Phi.ll
2009-11-03-InsertExtractValue.ll
2009-11-05-DeadGlobalVariable.ll
2009-11-06-NamelessGlobalVariable.ll
2009-11-10-CurrentFn.ll
2010-01-05-DbgScope.ll
2010-01-19-DbgScope.ll
2010-03-12-llc-crash.ll
2010-03-19-DbgDeclare.ll
2010-03-24-MemberFn.ll
2010-03-30-InvalidDbgInfoCrash.ll
2010-04-06-NestedFnDbgInfo.ll
2010-04-19-FramePtr.ll
2010-05-03-DisableFramePtr.ll
2010-05-03-OriginDIE.ll
2010-05-10-MultipleCU.ll
2010-06-29-InlinedFnLocalVar.ll
2010-07-19-Crash.ll
2010-10-01-crash.ll
array.ll
bug_null_debuginfo.ll
debuginfofinder-multiple-cu.ll Changing DebugInfoFinder to iterate over all the compile units. 2013-10-17 10:27:12 +00:00
debuglineinfo.test
dwarf-public-names.ll
dwarfdump-debug-frame-simple.test
dwarfdump-debug-loc-simple.test
dwarfdump-dump-flags.test
dwarfdump-inlining.test
dwarfdump-pubnames.test
dwarfdump-test.test
dwarfdump-type-units.test
dwarfdump-zlib.test
enum.ll
global.ll
inheritance.ll
inline-debug-info-multiret.ll
inline-debug-info.ll
inlined-arguments.ll
inlined-vars.ll
llvm-symbolizer.test Add DebugInfo testcase for high_pc encoded as constant, fixed in r193555. 2013-10-30 20:27:17 +00:00
member-order.ll DebugInfo: Fix ordering of members after r191928 2013-10-04 01:39:59 +00:00
member-pointers.ll Debug Info: instead of calling addToContextOwner which constructs the context 2013-10-29 22:49:29 +00:00
namespace.ll
template-recursive-void.ll Debug Info: instead of calling addToContextOwner which constructs the context 2013-10-29 05:49:41 +00:00
tu-composite.ll Debug Info Testing Case: check for the name of a structure. 2013-10-11 18:50:00 +00:00
tu-member-pointer.ll Debug Info: instead of calling addToContextOwner which constructs the context 2013-10-29 22:49:29 +00:00
two-cus-from-same-file.ll
version.ll