forked from OSchip/llvm-project
Integrated a patch for the MCJIT that inhibits
a memory leak. llvm-svn: 148507
This commit is contained in:
parent
ab3fe0f9ba
commit
d8186490c1
|
@ -0,0 +1,12 @@
|
|||
Index: lib/ExecutionEngine/MCJIT/MCJIT.cpp
|
||||
===================================================================
|
||||
--- lib/ExecutionEngine/MCJIT/MCJIT.cpp (revision 146622)
|
||||
+++ lib/ExecutionEngine/MCJIT/MCJIT.cpp (working copy)
|
||||
@@ -85,6 +85,7 @@
|
||||
|
||||
MCJIT::~MCJIT() {
|
||||
delete MemMgr;
|
||||
+ delete TM;
|
||||
}
|
||||
|
||||
void *MCJIT::getPointerToBasicBlock(BasicBlock *BB) {
|
Loading…
Reference in New Issue