Integrated a patch for the MCJIT that inhibits

a memory leak.

llvm-svn: 148507
This commit is contained in:
Sean Callanan 2012-01-19 23:01:46 +00:00
parent ab3fe0f9ba
commit d8186490c1
1 changed files with 12 additions and 0 deletions

View File

@ -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) {