aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-04-14 01:18:28 +0000
committerDevang Patel <dpatel@apple.com>2010-04-14 01:18:28 +0000
commit1d526c38e2d903a6c27bb7b90c8636e7b6600136 (patch)
treea7dd1fbb2de4cf1a09b8bf13b4edd1dd3e23345d /lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parentefcdac0c41e7f14e81f79762423f30d892792261 (diff)
Clear MachineInstr->MCSymbol maps at the end of a function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101202 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 06e7cc4033..e2767b9e18 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -2351,6 +2351,8 @@ void DwarfDebug::endFunction(const MachineFunction *MF) {
DeleteContainerSeconds(AbstractScopes);
AbstractScopesList.clear();
AbstractVariables.clear();
+ InsnBeforeLabelMap.clear();
+ InsnAfterLabelMap.clear();
Lines.clear();
}