aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
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
commit9ec87b3c86151d065b58a1f4f94c37034aae97da (patch)
tree969f2e87a1989f2e6d1e83d23e3a3a9def25f2ea /lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parent28bd25a06ba3f3fa493fde97344e095b6987988c (diff)
Delete the FissionCU.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169757 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 574474c118..cb5e71917b 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/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;