summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-22 01:03:24 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-22 01:03:24 +0000
commitc6f4af028d48bdd2d588405f59422643f5236448 (patch)
treeefb3a8126c03df7de1ec81a417c6fafd1d4168a3 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parenta1a4ae34d0ac1e9d2dd0325da63665b452a3bd7a (diff)
downloadbcm5719-llvm-c6f4af028d48bdd2d588405f59422643f5236448.tar.gz
bcm5719-llvm-c6f4af028d48bdd2d588405f59422643f5236448.zip
Clear map after use.
This is likely to fix the segfault in llvm-gcc-x86_64-darwin10-cross-mingw32. llvm-svn: 128051
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index d65270edf6e..c775c38f702 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -3050,6 +3050,7 @@ void DwarfDebug::endFunction(const MachineFunction *MF) {
DbgVariableToDbgInstMap.clear();
DeleteContainerSeconds(DbgScopeMap);
InsnsNeedsLabelAfter.clear();
+ RegClobberInsn.clear();
ConcreteScopes.clear();
DeleteContainerSeconds(AbstractScopes);
AbstractScopesList.clear();
OpenPOWER on IntegriCloud