summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitb7eadda495a6a91da40267d2a7e6ca24e34bde53 (patch)
tree4b25cf2bdbb7c2cffb2970c66e6b87917eb82366 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parent82c3cadad6177c93d979803e6f3cc92ace0b8838 (diff)
downloadbcm5719-llvm-b7eadda495a6a91da40267d2a7e6ca24e34bde53.tar.gz
bcm5719-llvm-b7eadda495a6a91da40267d2a7e6ca24e34bde53.zip
Clear MachineInstr->MCSymbol maps at the end of a function.
llvm-svn: 101202
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 06e7cc40331..e2767b9e187 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/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();
}
OpenPOWER on IntegriCloud