Switch the type field in DIVariable and DIGlobalVariable over to DITypeRefs.
authorAdrian Prantl <aprantl@apple.com>
Tue, 18 Mar 2014 02:34:58 +0000 (02:34 +0000)
committerAdrian Prantl <aprantl@apple.com>
Tue, 18 Mar 2014 02:34:58 +0000 (02:34 +0000)
commit5e8144df32cad1bf29cf7cc27f53870302826256
tree23574e1ab12406a5276e0481a16fed30b1ba0d0e
parent4d82ca74626878ac2739a5532d101f27ef6eddfe
Switch the type field in DIVariable and DIGlobalVariable over to DITypeRefs.
This allows us to catch more opportunities for ODR-based type uniquing
during LTO.
Paired commit with CFE which updates some testcases to verify the new
DIBuilder behavior.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204106 91177308-0d34-0410-b5e6-96231b3b80d8
docs/SourceLevelDebugging.rst
include/llvm/IR/DIBuilder.h
include/llvm/IR/DebugInfo.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
lib/IR/DIBuilder.cpp
lib/IR/DebugInfo.cpp
test/Linker/type-unique-odr-a.ll