Debug Info: add a newly-created DIE to a parent in the same function.
authorManman Ren <manman.ren@gmail.com>
Fri, 18 Oct 2013 21:14:19 +0000 (21:14 +0000)
committerManman Ren <manman.ren@gmail.com>
Fri, 18 Oct 2013 21:14:19 +0000 (21:14 +0000)
commit630c3264a650af8e74f2b0b5ae7b57a17cb52061
tree682c6bcd089a6a30e3d12b01072b54cb81ecdc01
parent57a964bc635359b97340b57510df4ebaf506806b
Debug Info: add a newly-created DIE to a parent in the same function.

With this commit, all DIEs created in CompileUnit will be added to parents
inside the same function. Also make getOrCreateTemplateType|Value functions
private.

No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193002 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
lib/CodeGen/AsmPrinter/DwarfCompileUnit.h