diff --git a/lldb/scripts/llvm.delete-target-machine.diff b/lldb/scripts/llvm.delete-target-machine.diff new file mode 100644 index 000000000000..25dec6639eae --- /dev/null +++ b/lldb/scripts/llvm.delete-target-machine.diff @@ -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) {