[llvm-commits] [llvm] r101202 - /llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Devang Patel
dpatel at apple.com
Tue Apr 13 18:18:29 PDT 2010
Author: dpatel
Date: Tue Apr 13 20:18:28 2010
New Revision: 101202
URL: http://llvm.org/viewvc/llvm-project?rev=101202&view=rev
Log:
Clear MachineInstr->MCSymbol maps at the end of a 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=101202&r1=101201&r2=101202&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Tue Apr 13 20:18:28 2010
@@ -2351,6 +2351,8 @@
DeleteContainerSeconds(AbstractScopes);
AbstractScopesList.clear();
AbstractVariables.clear();
+ InsnBeforeLabelMap.clear();
+ InsnAfterLabelMap.clear();
Lines.clear();
}
More information about the llvm-commits
mailing list