projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fc7d71
)
Fix -Asserts warning.
author
Daniel Dunbar
<daniel@zuster.org>
Wed, 11 Nov 2009 03:09:50 +0000
(
03:09
+0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Wed, 11 Nov 2009 03:09:50 +0000
(
03:09
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86794
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index e7e596db05483ce4d743b3e5cd09566bfb494a71..3f26360f0b5f5d5070caded6afdca67debbee73b 100644
(file)
--- 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!");