commit | 57a964bc635359b97340b57510df4ebaf506806b | [log] [tgz] |
---|---|---|
author | Manman Ren <manman.ren@gmail.com> | Fri Oct 18 20:52:22 2013 +0000 |
committer | Manman Ren <manman.ren@gmail.com> | Fri Oct 18 20:52:22 2013 +0000 |
tree | b90cff057306a839128104d33c479e006707e672 | |
parent | 22f9dd4591e8af6d6feed10a4b6e11a784582edc [diff] [blame] |
Debug Info: simplify code a bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193001 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp index 79891eb..d2ba225 100644 --- a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
@@ -1376,7 +1376,7 @@ addDIEEntry(SPDie, dwarf::DW_AT_specification, DeclDie); // Add subprogram definitions to the CU die directly. - CUDie.get()->addChild(SPDie); + addDie(SPDie); return SPDie; }