summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2012-12-10 19:51:18 +0000
committerEric Christopher <echristo@gmail.com>2012-12-10 19:51:18 +0000
commit8afd7b60664be03e8f875bf4215e72093d28810a (patch)
tree7825c044cab6ac0af84e719d47eb1b6711e319d6 /llvm/lib
parentd79f5480ac05b9ec41b0095a00c19d25e06612ee (diff)
downloadbcm5719-llvm-8afd7b60664be03e8f875bf4215e72093d28810a.tar.gz
bcm5719-llvm-8afd7b60664be03e8f875bf4215e72093d28810a.zip
Delete the FissionCU.
llvm-svn: 169757
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 574474c118e..cb5e71917b0 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -981,6 +981,9 @@ void DwarfDebug::endModule() {
for (DenseMap<const MDNode *, CompileUnit *>::iterator I = CUMap.begin(),
E = CUMap.end(); I != E; ++I)
delete I->second;
+
+ delete FissionCU;
+
// Reset these for the next Module if we have one.
FirstCU = NULL;
FissionCU = NULL;
OpenPOWER on IntegriCloud