Delete the FissionCU.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169757 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher 2012-12-10 19:51:18 +00:00
parent 28bd25a06b
commit 9ec87b3c86

View File

@ -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;