[llvm-commits] [llvm] r100867 - /llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Devang Patel
dpatel at apple.com
Fri Apr 9 09:04:20 PDT 2010
Author: dpatel
Date: Fri Apr 9 11:04:20 2010
New Revision: 100867
URL: http://llvm.org/viewvc/llvm-project?rev=100867&view=rev
Log:
Clear InsnsBeginScopeSet and InsnsEndScopeSet at the end of function.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=100867&r1=100866&r2=100867&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Fri Apr 9 11:04:20 2010
@@ -2342,6 +2342,8 @@
// Clear debug info
CurrentFnDbgScope = NULL;
DeleteContainerSeconds(DbgScopeMap);
+ InsnsBeginScopeSet.clear();
+ InsnsEndScopeSet.clear();
DbgValueStartMap.clear();
ConcreteScopes.clear();
DeleteContainerSeconds(AbstractScopes);
More information about the llvm-commits
mailing list