diff options
author | Manman Ren <manman.ren@gmail.com> | 2014-11-21 19:55:23 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2014-11-21 19:55:23 +0000 |
commit | f0a582bada4e77e2b06a0f37b7cf06703971f26f (patch) | |
tree | 5f94213b63ea75dbfe111ee6b20601c39c894b15 /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | |
parent | d2b9a1b890b47d79d158a08ece2f39840b890d0e (diff) | |
download | bcm5719-llvm-f0a582bada4e77e2b06a0f37b7cf06703971f26f.tar.gz bcm5719-llvm-f0a582bada4e77e2b06a0f37b7cf06703971f26f.zip |
Debug Info: revert r222195, r222210 and r222239.
This is no longer needed after David's fix at r222377 + r222485.
rdar://18958417
llvm-svn: 222563
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp index 2f1b0e5b161..38100bc2f4c 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp @@ -103,7 +103,7 @@ DIE *DwarfCompileUnit::getOrCreateGlobalVariableDIE(DIGlobalVariable GV) { assert(GV.isGlobalVariable()); - DIScope GVContext = DD->resolve(GV.getContext()); + DIScope GVContext = GV.getContext(); DIType GTy = DD->resolve(GV.getType()); // Construct the context before querying for the existence of the DIE in @@ -122,7 +122,7 @@ DIE *DwarfCompileUnit::getOrCreateGlobalVariableDIE(DIGlobalVariable GV) { DIE *VariableSpecDIE = getOrCreateStaticMemberDIE(SDMDecl); addDIEEntry(*VariableDIE, dwarf::DW_AT_specification, *VariableSpecDIE); } else { - DeclContext = resolve(GV.getContext()); + DeclContext = GV.getContext(); // Add name and type. addString(*VariableDIE, dwarf::DW_AT_name, GV.getDisplayName()); addType(*VariableDIE, GTy); |