diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-11-11 03:09:50 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-11 03:09:50 +0000 |
commit | c032679d3ef57246a472cd49e2c884d0345e9ff2 (patch) | |
tree | ba5e0e9c04cc6ab34e133d9ce22bebe28e995b30 /lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | 1fc7d715aa35703fcc4a87ece718a8c447e8ee72 (diff) |
Fix -Asserts warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86794 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index e7e596db05..3f26360f0b 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -1565,6 +1565,7 @@ DIE *DwarfDebug::ConstructVariableDIE(DbgVariable *DV, DIScope DS(Scope->getScopeNode()); DISubprogram InlinedSP = getDISubprogram(DS.getNode()); DIE *&OriginSPDIE = ModuleCU->getDieMapSlotFor(InlinedSP.getNode()); + (void) OriginSPDIE; assert (OriginSPDIE && "Unable to find Origin DIE for the SP!"); DIE *AbsDIE = DV->getAbstractVariable()->getDIE(); assert (AbsDIE && "Unable to find Origin DIE for the Variable!"); |