From: Eric Christopher Date: Mon, 10 Dec 2012 19:51:18 +0000 (+0000) Subject: Delete the FissionCU. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=9ec87b3c86151d065b58a1f4f94c37034aae97da;p=oota-llvm.git 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 574474c118e..cb5e71917b0 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -981,6 +981,9 @@ void DwarfDebug::endModule() { for (DenseMap::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;