llvm-6502/lib/CodeGen/AsmPrinter
Manman Ren c664d76716 Debug Info: In DIBuilder, the derived-from field of a DW_TAG_pointer_type
is updated to use DITypeRef.

Move isUnsignedDIType and getOriginalTypeSize from DebugInfo.h to be static
helper functions in DwarfCompileUnit. We already have a static helper function
"isTypeSigned" in DwarfCompileUnit, and a pointer to DwarfDebug is added to
resolve the derived-from field. All three functions need to go across link
for derived-from fields, so we need to get hold of a type identifier map.

A pointer to DwarfDebug is also added to DbgVariable in order to resolve the
derived-from field.

Debug info verifier is updated to check a derived-from field is a TypeRef.
Verifier will not go across link for derived-from fields, in debug info finder,
we go across the link to add derived-from fields to types.

Function getDICompositeType is only used by dragonegg and since dragonegg does
not generate identifier for types, we use an empty map to resolve the
derived-from field.

When printing a derived-from field, we use DITypeRef::getName to either return
the type identifier or getName of the DIType.

A paired commit at clang is required due to changes to DIBuilder.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192018 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-05 01:43:03 +00:00
..
ARMException.cpp Make helpers static. Add missing include so LLVMInitializeObjCARCOpts gets C linkage. 2013-02-15 12:30:38 +00:00
AsmPrinter.cpp Rename DataLayout variables TD -> DL 2013-10-03 19:50:01 +00:00
AsmPrinterDwarf.cpp [Sparc] Implements exception handling in SPARC with DwarfCFI. 2013-09-26 15:11:00 +00:00
AsmPrinterInlineAsm.cpp Add an instruction deprecation feature to TableGen. 2013-09-12 10:28:05 +00:00
CMakeLists.txt Update the CMake build files. 2013-08-08 23:51:31 +00:00
DIE.cpp Temporarily revert r176882 as it needs to be implemented in a different 2013-10-04 19:40:33 +00:00
DIE.h Remove some dead code. 2013-10-04 23:37:30 +00:00
DIEHash.cpp Add a hashing routine that handles hashing types. Add a test for 2013-09-03 21:57:57 +00:00
DIEHash.h Revert "Give internal classes hidden visibility." 2013-09-11 18:05:11 +00:00
DwarfAccelTable.cpp Move accelerator table defines and constants to Dwarf.h since 2013-09-05 18:20:16 +00:00
DwarfAccelTable.h Revert "Give internal classes hidden visibility." 2013-09-11 18:05:11 +00:00
DwarfCFIException.cpp Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
DwarfCompileUnit.cpp Debug Info: In DIBuilder, the derived-from field of a DW_TAG_pointer_type 2013-10-05 01:43:03 +00:00
DwarfCompileUnit.h Reorganize some member variables and update a comment. 2013-10-05 00:39:55 +00:00
DwarfDebug.cpp Debug Info: In DIBuilder, the derived-from field of a DW_TAG_pointer_type 2013-10-05 01:43:03 +00:00
DwarfDebug.h Debug Info: In DIBuilder, the derived-from field of a DW_TAG_pointer_type 2013-10-05 01:43:03 +00:00
DwarfException.cpp Remove unneeded "TargetMachine.h" #includes. 2013-02-09 20:54:05 +00:00
DwarfException.h Revert "Give internal classes hidden visibility." 2013-09-11 18:05:11 +00:00
ErlangGCPrinter.cpp Add a GC plugin for Erlang 2013-03-25 13:47:46 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +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 Revert: Emit personality function and Dwarf EH data for Win64 SEH. 2013-07-08 04:43:23 +00:00