1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/DebugInfo
David Blaikie 1da0d0e284 Revert "Revert "Debug Info: Type Units: Simplify type hashing using IR-provided unique names.""
This reverts commit r198398, thus reapplying r198397.

I had accidentally introduced an endianness issue when applying the hash
to the type unit. Using support::ulittle64_t in the reinterpret_cast in
addDwarfTypeUnitType fixes this issue.

Original commit message:

Debug Info: Type Units: Simplify type hashing using IR-provided unique
names.

What's good for LTO metadata size problems ought to be good for non-LTO
debug info size too, so let's rely on the same uniqueness in both cases.
If it's insufficient for non-LTO for whatever reason (since we now won't
be uniquing CU-local types or any C types - but these are likely to not
be the most significant contributors to type bloat) we should consider a
frontend solution that'll help both LTO and non-LTO alike, rather than
using DWARF-level DIE-hashing that only helps non-LTO debug info size.

It's also much simpler this way and benefits C++ even more since we can
deduplicate lexically separate definitions of the same C++ type since
they have the same mangled name.

llvm-svn: 198436
2014-01-03 18:59:42 +00:00
..
AArch64 Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
ARM Debug info: On ARM ensure that the data sections come before the 2013-12-23 22:24:47 +00:00
Inputs Add DebugInfo testcase for high_pc encoded as constant, fixed in r193555. 2013-10-30 20:27:17 +00:00
PowerPC Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
SystemZ Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
X86 Revert "Revert "Debug Info: Type Units: Simplify type hashing using IR-provided unique names."" 2014-01-03 18:59:42 +00:00
2009-10-16-Phi.ll
2009-11-03-InsertExtractValue.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
2009-11-05-DeadGlobalVariable.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
2009-11-06-NamelessGlobalVariable.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
2009-11-10-CurrentFn.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
2010-01-05-DbgScope.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
2010-01-19-DbgScope.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +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 Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
2010-03-24-MemberFn.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
2010-03-30-InvalidDbgInfoCrash.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
2010-04-06-NestedFnDbgInfo.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
2010-04-19-FramePtr.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
2010-05-03-DisableFramePtr.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
2010-05-03-OriginDIE.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
2010-05-10-MultipleCU.ll DebugInfo: Improve test to use llvm-dwarfdump 2013-12-04 18:40:29 +00:00
2010-06-29-InlinedFnLocalVar.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
2010-07-19-Crash.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
2010-10-01-crash.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
array.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
bug_null_debuginfo.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
cu-ranges.ll Remove extra check line that's failing on windows and not necessary at 2013-12-20 04:40:28 +00:00
debug-info-qualifiers.ll move test back into the parent directory and add a REQUIRES: obj emission. 2013-12-20 00:37:18 +00:00
debuginfofinder-multiple-cu.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
debuglineinfo.test
dwarf-public-names.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
dwarfdump-debug-frame-simple.test
dwarfdump-debug-loc-simple.test
dwarfdump-dump-flags.test
dwarfdump-inlining.test
dwarfdump-pubnames.test DebugInfo: Make pubnames header printing similar to unit header printing 2013-11-01 17:53:30 +00:00
dwarfdump-test.test
dwarfdump-type-units.test llvm-dwarfdump: support for emitting only the debug_types section using -debug-dump 2013-11-19 00:29:42 +00:00
dwarfdump-zlib.test
enum.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
global.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +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: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
inline-debug-info.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
inlined-arguments.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
inlined-vars.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
llvm-symbolizer.test llvm-symbolizer: add --obj flag to specify a single object file that should be symbolized. 2013-12-24 19:33:22 +00:00
member-order.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
member-pointers.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
namespace.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
template-recursive-void.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
tu-composite.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
tu-member-pointer.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
two-cus-from-same-file.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
version.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00