1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/lib/CodeGen/AsmPrinter
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
..
ARMException.cpp Reland 196270 "Generalize debug info / EH emission in AsmPrinter" 2013-12-03 15:10:23 +00:00
AsmPrinter.cpp Remove AsmPrinter::needsRelocationsForDwarfStringPool() since it's 2013-12-28 01:39:17 +00:00
AsmPrinterDwarf.cpp Simplify check. 2013-12-04 22:29:02 +00:00
AsmPrinterHandler.h Remove weak vtables. No functional change. 2013-12-14 12:23:14 +00:00
AsmPrinterInlineAsm.cpp Add an instruction deprecation feature to TableGen. 2013-09-12 10:28:05 +00:00
CMakeLists.txt DebugInfo: Rename DwarfCompileUnit.* to DwarfUnit.* to match their contents. 2013-12-02 19:33:15 +00:00
DIE.cpp DebugInfo: Introduce new DIValue, DIETypeSignature to encode references to type units via their signatures 2013-12-17 23:32:35 +00:00
DIE.h DebugInfo: Introduce new DIValue, DIETypeSignature to encode references to type units via their signatures 2013-12-17 23:32:35 +00:00
DIEHash.cpp Remove unnecessary/commented-out header inclusion. 2013-12-02 22:11:08 +00:00
DIEHash.h Formatting and 80-col. 2013-11-19 09:28:34 +00:00
DwarfAccelTable.cpp Rename DwarfUnits to DwarfFile to help avoid some naming confusion. 2013-12-05 18:06:10 +00:00
DwarfAccelTable.h Rename DwarfUnits to DwarfFile to help avoid some naming confusion. 2013-12-05 18:06:10 +00:00
DwarfCFIException.cpp Reland 196270 "Generalize debug info / EH emission in AsmPrinter" 2013-12-03 15:10:23 +00:00
DwarfDebug.cpp Revert "Revert "Debug Info: Type Units: Simplify type hashing using IR-provided unique names."" 2014-01-03 18:59:42 +00:00
DwarfDebug.h Revert "Revert "Debug Info: Type Units: Simplify type hashing using IR-provided unique names."" 2014-01-03 18:59:42 +00:00
DwarfException.cpp Reland 196270 "Generalize debug info / EH emission in AsmPrinter" 2013-12-03 15:10:23 +00:00
DwarfException.h Reland 196270 "Generalize debug info / EH emission in AsmPrinter" 2013-12-03 15:10:23 +00:00
DwarfUnit.cpp Revert "Revert "Debug Info: Type Units: Simplify type hashing using IR-provided unique names."" 2014-01-03 18:59:42 +00:00
DwarfUnit.h Fix up a couple of review comments: 2014-01-02 21:03:28 +00:00
ErlangGCPrinter.cpp Add a GC plugin for Erlang 2013-03-25 13:47:46 +00:00
LLVMBuild.txt Add proper dependencies to LLVMBuild.txt in llvm/lib. 2013-12-10 05:39:34 +00:00
Makefile
OcamlGCPrinter.cpp Last in the series of removing unnecessary '0' arguments for 2013-01-09 03:52:05 +00:00
Win64Exception.cpp Reland 196270 "Generalize debug info / EH emission in AsmPrinter" 2013-12-03 15:10:23 +00:00