commit | 9ec87b3c86151d065b58a1f4f94c37034aae97da | [log] [tgz] |
---|---|---|
author | Eric Christopher <echristo@gmail.com> | Mon Dec 10 19:51:18 2012 +0000 |
committer | Eric Christopher <echristo@gmail.com> | Mon Dec 10 19:51:18 2012 +0000 |
tree | 969f2e87a1989f2e6d1e83d23e3a3a9def25f2ea | |
parent | 28bd25a06ba3f3fa493fde97344e095b6987988c [diff] |
Delete the FissionCU. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169757 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 574474c..cb5e719 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -981,6 +981,9 @@ 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;