projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28bd25a
)
Delete the FissionCU.
author
Eric Christopher
<echristo@gmail.com>
Mon, 10 Dec 2012 19:51:18 +0000
(19:51 +0000)
committer
Eric Christopher
<echristo@gmail.com>
Mon, 10 Dec 2012 19:51:18 +0000
(19:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169757
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 574474c118e7581c802745b9a5ffe864999e657b..cb5e71917b02dbaaf83a53c5bc6b626c8cd019d6 100644
(file)
--- 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;