[llvm] r222811 - [MCJIT] Temporarily disable automatic JIT debugger registration.

Lang Hames lhames at gmail.com
Tue Nov 25 23:25:26 PST 2014


Author: lhames
Date: Wed Nov 26 01:25:26 2014
New Revision: 222811

URL: http://llvm.org/viewvc/llvm-project?rev=222811&view=rev
Log:
[MCJIT] Temporarily disable automatic JIT debugger registration.

The RuntimeDyld cleanup patch r222810 turned on GDB registration for MachO
objects. I expected this to be harmless, but it seems to have broken on
MacsOS. Temporarily disabling debugger registration while I dig in to what's
gone wrong.


Modified:
    llvm/trunk/lib/ExecutionEngine/MCJIT/MCJIT.cpp

Modified: llvm/trunk/lib/ExecutionEngine/MCJIT/MCJIT.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/MCJIT/MCJIT.cpp?rev=222811&r1=222810&r2=222811&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/MCJIT/MCJIT.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/MCJIT/MCJIT.cpp Wed Nov 26 01:25:26 2014
@@ -75,7 +75,6 @@ MCJIT::MCJIT(std::unique_ptr<Module> M,
 
   OwnedModules.addModule(std::move(First));
   setDataLayout(TM->getSubtargetImpl()->getDataLayout());
-  RegisterJITEventListener(JITEventListener::createGDBRegistrationListener());
 }
 
 MCJIT::~MCJIT() {





More information about the llvm-commits mailing list