OSDN Git Service
(root)
/
android-x86
/
external-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
e7e596d
..
3f26360
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!");