[MCJIT] Temporarily disable automatic JIT debugger registration.
authorLang Hames <lhames@gmail.com>
Wed, 26 Nov 2014 07:25:26 +0000 (07:25 +0000)
committerLang Hames <lhames@gmail.com>
Wed, 26 Nov 2014 07:25:26 +0000 (07:25 +0000)
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.

llvm-svn: 222811

llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp

index 58cf4e5..490fbb3 100644 (file)
@@ -75,7 +75,6 @@ MCJIT::MCJIT(std::unique_ptr<Module> M, std::unique_ptr<TargetMachine> tm,
 
   OwnedModules.addModule(std::move(First));
   setDataLayout(TM->getSubtargetImpl()->getDataLayout());
-  RegisterJITEventListener(JITEventListener::createGDBRegistrationListener());
 }
 
 MCJIT::~MCJIT() {