llvm-6502/lib/CodeGen/AsmPrinter
Adrian Prantl 7e1a3830ca Debug Info: Fix LTO type uniquing for C++ member declarations
based on the ODR.

This adds an OdrMemberMap to DwarfDebug which is used to unique C++
member function declarations based on the unique identifier of their
containing class and their mangled name.
We can't use the usual DIRef mechanism here because DIScopes are indexed
using their entire MDNode, including decl_file and decl_line, which need
not be unique (see testcase).

Prior to this change multiple redundant member function declarations would
end up in the same uniqued DW_TAG_class_type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203982 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-14 23:08:25 +00:00
..
ARMException.cpp Generate the DWARF stack frame decode operations in the function prologue for ARM/Thumb functions. 2014-02-14 17:19:07 +00:00
AsmPrinter.cpp Remove the linker_private and linker_private_weak linkages. 2014-03-13 23:18:37 +00:00
AsmPrinterDwarf.cpp Two part patch: 2014-03-07 22:40:37 +00:00
AsmPrinterHandler.h Remove weak vtables. No functional change. 2013-12-14 12:23:14 +00:00
AsmPrinterInlineAsm.cpp Replace OwningPtr<T> with std::unique_ptr<T>. 2014-03-06 05:51:42 +00:00
ByteStreamer.h [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-08 06:31:39 +00:00
CMakeLists.txt Reland r200340 - 'Add line table debug info to COFF files when using a win32 triple' 2014-01-30 01:39:17 +00:00
DIE.cpp Remove the last of the special case code for emitting attributes. 2014-03-06 00:00:56 +00:00
DIE.h [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-08 06:31:39 +00:00
DIEHash.cpp Add support for hashing location information for CU level hashes. 2014-03-08 00:29:41 +00:00
DIEHash.h Add support for hashing location information for CU level hashes. 2014-03-08 00:29:41 +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 Add back r201608, r201622, r201624 and r201625 2014-02-19 17:23:20 +00:00
DwarfDebug.cpp Debug Info: Fix LTO type uniquing for C++ member declarations 2014-03-14 23:08:25 +00:00
DwarfDebug.h Debug Info: Fix LTO type uniquing for C++ member declarations 2014-03-14 23:08:25 +00:00
DwarfException.cpp [C++11] Convert sort predicates into lambdas. 2014-03-07 21:35:39 +00:00
DwarfException.h [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-08 06:31:39 +00:00
DwarfUnit.cpp Debug Info: Fix LTO type uniquing for C++ member declarations 2014-03-14 23:08:25 +00:00
DwarfUnit.h Debug Info: Fix LTO type uniquing for C++ member declarations 2014-03-14 23:08:25 +00:00
ErlangGCPrinter.cpp [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-08 06:31:39 +00:00
LLVMBuild.txt Add proper dependencies to LLVMBuild.txt in llvm/lib. 2013-12-10 05:39:34 +00:00
Makefile
OcamlGCPrinter.cpp [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-08 06:31:39 +00:00
Win64Exception.cpp Add back r201608, r201622, r201624 and r201625 2014-02-19 17:23:20 +00:00
WinCodeViewLineTables.cpp Reland r200340 - 'Add line table debug info to COFF files when using a win32 triple' 2014-01-30 01:39:17 +00:00
WinCodeViewLineTables.h [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-08 06:31:39 +00:00