[ORC] Enable JITEventListeners in the RTDyldObjectLinkingLayer.
authorLang Hames <lhames@gmail.com>
Mon, 9 Mar 2020 06:00:48 +0000 (23:00 -0700)
committerLang Hames <lhames@gmail.com>
Sun, 15 Mar 2020 22:14:46 +0000 (15:14 -0700)
commit98f2bb4461072347dcca7d2b1b9571b3a6525801
treef9b92b40cf845d897babaffffe30c0650dd6498a
parentd385133249396c686474fef9e685e5571ac3dbb8
[ORC] Enable JITEventListeners in the RTDyldObjectLinkingLayer.

Enable use of ExecutionEngine JITEventListeners in RTDyldObjectLinkingLayer.
This allows existing MCJIT clients to more easily migrate to LLJIT / ORCv2.

Example usage in llvm/examples/OrcV2Examples/LLJITWithGDBRegistrationListener.

Differential Revision: https://reviews.llvm.org/D75838
llvm/examples/OrcV2Examples/CMakeLists.txt
llvm/examples/OrcV2Examples/LLJITWithGDBRegistrationListener/CMakeLists.txt [new file with mode: 0644]
llvm/examples/OrcV2Examples/LLJITWithGDBRegistrationListener/LLJITWithGDBRegistrationListener.cpp [new file with mode: 0644]
llvm/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h
llvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
llvm/tools/lli/lli.cpp