llvm-6502/lib/CodeGen/AsmPrinter
Manman Ren bc3e96f17b Debug Info: use DW_FORM_ref_addr instead of DW_FORM_ref4 if the referenced DIE
belongs to a different compile unit.

DW_FORM_ref_addr should be used for cross compile-unit reference.

When compiling a large application, we got a dwarfdump verification error where
abstract_origin points to nowhere.

This error can't be reproduced on any testing case in MultiSource.
We may have other cases where we use DW_FORM_ref4 unconditionally.

rdar://problem/13370501


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176882 91177308-0d34-0410-b5e6-96231b3b80d8
2013-03-12 18:27:15 +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
AsmPrinterDwarf.cpp
AsmPrinterInlineAsm.cpp Revert "Rename LLVMContext diagnostic handler types and functions." 2013-02-11 05:37:07 +00:00
CMakeLists.txt
DIE.cpp Debug Info: use DW_FORM_ref_addr instead of DW_FORM_ref4 if the referenced DIE 2013-03-12 18:27:15 +00:00
DIE.h Debug Info: use DW_FORM_ref_addr instead of DW_FORM_ref4 if the referenced DIE 2013-03-12 18:27:15 +00:00
DwarfAccelTable.cpp
DwarfAccelTable.h
DwarfCFIException.cpp
DwarfCompileUnit.cpp Debug Info: use DW_FORM_ref_addr instead of DW_FORM_ref4 if the referenced DIE 2013-03-12 18:27:15 +00:00
DwarfCompileUnit.h Debug Info: use DW_FORM_ref_addr instead of DW_FORM_ref4 if the referenced DIE 2013-03-12 18:27:15 +00:00
DwarfDebug.cpp Debug Info: use DW_FORM_ref_addr instead of DW_FORM_ref4 if the referenced DIE 2013-03-12 18:27:15 +00:00
DwarfDebug.h Debug Info: use DW_FORM_ref_addr instead of DW_FORM_ref4 if the referenced DIE 2013-03-12 18:27:15 +00:00
DwarfException.cpp Remove unneeded "TargetMachine.h" #includes. 2013-02-09 20:54:05 +00:00
DwarfException.h
LLVMBuild.txt
Makefile
OcamlGCPrinter.cpp
Win64Exception.cpp Remove unneeded "TargetMachine.h" #includes. 2013-02-09 20:54:05 +00:00