Delete the FissionCU.

llvm-svn: 169757
This commit is contained in:
Eric Christopher 2012-12-10 19:51:18 +00:00
parent d79f5480ac
commit 8afd7b6066
1 changed files with 3 additions and 0 deletions

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;