From: Devang Patel Date: Fri, 9 Apr 2010 16:04:20 +0000 (+0000) Subject: Clear InsnsBeginScopeSet and InsnsEndScopeSet at the end of function. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5142471fcd9c8f4f86ad08e87cecdce1700562ba;p=oota-llvm.git Clear InsnsBeginScopeSet and InsnsEndScopeSet at the end of function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100867 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 7969374c2ca..7fed0c5162e 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -2342,6 +2342,8 @@ void DwarfDebug::endFunction(const MachineFunction *MF) { // Clear debug info CurrentFnDbgScope = NULL; DeleteContainerSeconds(DbgScopeMap); + InsnsBeginScopeSet.clear(); + InsnsEndScopeSet.clear(); DbgValueStartMap.clear(); ConcreteScopes.clear(); DeleteContainerSeconds(AbstractScopes);