Enable GDB listener / obj registration.

This allows debuggers to see the actual content of the JIT part of a stack trace.

This revert per se 9428c1f1907b3f01208dcc6095c5707011621310
This commit is contained in:
Philippe Canal 2017-01-31 12:22:58 -06:00 committed by sftnight
parent b75b04af7b
commit e7c289878a

View File

@ -161,6 +161,7 @@ IncrementalJIT::IncrementalJIT(IncrementalExecutor& exe,
// Make debug symbols available.
m_GDBListener = 0; // JITEventListener::createGDBRegistrationListener();
m_GDBListener = JITEventListener::createGDBRegistrationListener();
// #if MCJIT
// llvm::EngineBuilder builder(std::move(m));