[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222811 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/MCJIT/MCJIT.cpp

index 58cf4e5e6dd8c23c88cc4de678c24079ba4ff4f0..490fbb3df99e5d8010a44ae933bff746fe8b432b 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() {