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 Move emission of the debug string table to early in the debug 2013-09-20 23:22:52 +00:00
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 [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
SystemZ Move emission of the debug string table to early in the debug 2013-09-20 23:22:52 +00:00
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 Debug Info Verifier: verify SPs in llvm.dbg.sp. 2013-07-27 01:26:08 +00:00
2009-11-05-DeadGlobalVariable.ll Debug Info Testing: update context from empty string to null. 2013-09-08 03:11:54 +00:00
2009-11-06-NamelessGlobalVariable.ll Debug Info Verifier: verify SPs in llvm.dbg.sp. 2013-07-27 01:26:08 +00:00
2009-11-10-CurrentFn.ll Debug Info Testing: update context from empty string to null. 2013-09-08 03:11:54 +00:00
2010-01-05-DbgScope.ll Debug Info: add an identifier field to DICompositeType. 2013-08-26 22:39:55 +00:00
2010-01-19-DbgScope.ll Debug Info: add an identifier field to DICompositeType. 2013-08-26 22:39:55 +00:00
2010-03-12-llc-crash.ll Debug Info: add an identifier field to DICompositeType. 2013-08-26 22:39:55 +00:00
2010-03-19-DbgDeclare.ll Revert "Revert "PR14606: debug info imported_module support"" 2013-04-22 06:12:31 +00:00
2010-03-24-MemberFn.ll Debug Info: add an identifier field to DICompositeType. 2013-08-26 22:39:55 +00:00
2010-03-30-InvalidDbgInfoCrash.ll Debug Info: add an identifier field to DICompositeType. 2013-08-26 22:39:55 +00:00
2010-04-06-NestedFnDbgInfo.ll Debug Info: add an identifier field to DICompositeType. 2013-08-26 22:39:55 +00:00
2010-04-19-FramePtr.ll Debug Info: add an identifier field to DICompositeType. 2013-08-26 22:39:55 +00:00
2010-05-03-DisableFramePtr.ll Debug Info: add an identifier field to DICompositeType. 2013-08-26 22:39:55 +00:00
2010-05-03-OriginDIE.ll Debug Info: add an identifier field to DICompositeType. 2013-08-26 22:39:55 +00:00
2010-05-10-MultipleCU.ll Debug Info: add an identifier field to DICompositeType. 2013-08-26 22:39:55 +00:00
2010-06-29-InlinedFnLocalVar.ll Debug Info: add an identifier field to DICompositeType. 2013-08-26 22:39:55 +00:00
2010-07-19-Crash.ll Debug Info: add an identifier field to DICompositeType. 2013-08-26 22:39:55 +00:00
2010-10-01-crash.ll Debug Info Testing: updated to use NULL instead of "i32 0" in a few fields. 2013-09-06 21:03:58 +00:00
array.ll Debug Info Testing: updated to use NULL instead of "i32 0" in a few fields. 2013-09-06 21:03:58 +00:00
bug_null_debuginfo.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
debuginfofinder-multiple-cu.ll Changing DebugInfoFinder to iterate over all the compile units. 2013-10-17 10:27:12 +00:00
debuglineinfo.test Add DIContext::getLineInfoForAddressRange() function and test. This function allows a caller to obtain a table of line information for a function using the function's address and size. 2013-01-26 00:28:05 +00:00
dwarf-public-names.ll MCObjectFileInfo.cpp: Fix a couple of possible typo(s), s/DwarfPub/DwarfGnuPub/, in r190344. 2013-09-10 06:01:56 +00:00
dwarfdump-debug-frame-simple.test Previously, parsing capability of the .debug_frame section was added 2013-02-21 22:53:19 +00:00
dwarfdump-debug-loc-simple.test Spell correct (s/begining/beginning/) 2013-06-19 21:42:05 +00:00
dwarfdump-dump-flags.test Add command-line flags for DWARF dumping. 2013-01-25 20:26:43 +00:00
dwarfdump-inlining.test Update tests for DWARF parser: store sources next to pre-built object files and provide build instructions 2013-02-08 14:34:33 +00:00
dwarfdump-pubnames.test Unify pubsection/gnu pubsection printing. 2013-09-25 23:02:36 +00:00
dwarfdump-test.test llvm-symbolizer: correctly parse filenames given in quotes 2013-04-05 09:22:24 +00:00
dwarfdump-type-units.test Make dwarfdump-type-units.test order-independent 2013-09-24 00:13:23 +00:00
dwarfdump-zlib.test Use zlib to uncompress debug sections in DWARF parser. 2013-04-23 10:17:34 +00:00
enum.ll Debug Info Testing: updated to use NULL instead of "i32 0" in a few fields. 2013-09-06 21:03:58 +00:00
global.ll Debug Info Testing: updated to use NULL instead of "i32 0" in a few fields. 2013-09-06 21:03:58 +00:00
inheritance.ll Debug Info Testing: update context from empty string to null. 2013-09-08 03:11:54 +00:00
inline-debug-info-multiret.ll Debug Info Testing: updated to use NULL instead of "i32 0" in a few fields. 2013-09-06 21:03:58 +00:00
inline-debug-info.ll Debug Info Testing: updated to use NULL instead of "i32 0" in a few fields. 2013-09-06 21:03:58 +00:00
inlined-arguments.ll Debug Info Testing: updated to use NULL instead of "i32 0" in a few fields. 2013-09-06 21:03:58 +00:00
inlined-vars.ll Debug Info Testing: updated to use NULL instead of "i32 0" in a few fields. 2013-09-06 21:03:58 +00:00
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 Debug Info Testing: updated to use NULL instead of "i32 0" in a few fields. 2013-09-06 21:03:58 +00:00
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 Debug Info Testing: updated to use NULL instead of "i32 0" in a few fields. 2013-09-06 21:03:58 +00:00
version.ll Debug Info Testing: updated to use NULL instead of "i32 0" in a few fields. 2013-09-06 21:03:58 +00:00