Enable use of ExecutionEngine JITEventListeners in RTDyldObjectLinkingLayer.
This allows existing MCJIT clients to more easily migrate to LLJIT / ORCv2.
Still needs some polish, but posting now so that potential clients can road
test it early.
Paths
| Differential D75838
[ORC] Enable JITEventListeners in the RTDyldObjectLinkingLayer. ClosedPublic Authored by lhames on Mar 8 2020, 11:08 PM.
Details Summary Enable use of ExecutionEngine JITEventListeners in RTDyldObjectLinkingLayer. Still needs some polish, but posting now so that potential clients can road
Diff Detail
Event Timeline
Comment Actions I am going to fix the issue Wenju identified and commit this: further development can happen in-tree. This revision is now accepted and ready to land.Mar 15 2020, 3:05 PM Comment Actions This broke tests in exactly the way the precommit test predicted (http://45.33.8.238/linux/12615/step_12.txt). Please fix or revert. (And please look at precommit test results going forward.) Closed by commit rG98f2bb446107: [ORC] Enable JITEventListeners in the RTDyldObjectLinkingLayer. (authored by lhames). · Explain WhyMar 15 2020, 3:32 PM This revision was automatically updated to reflect the committed changes. Comment Actions
Already reverted. I didn't realize the pre-commit tests were actually reliable: previous Harbormaster messages seemed to just be noise. That's very handy!
Revision Contents
Diff 250444 llvm/examples/OrcV2Examples/CMakeLists.txt
llvm/examples/OrcV2Examples/LLJITWithGDBRegistrationListener/CMakeLists.txt
llvm/examples/OrcV2Examples/LLJITWithGDBRegistrationListener/LLJITWithGDBRegistrationListener.cpp
llvm/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h
llvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
llvm/tools/lli/lli.cpp
|
&MemMgr should be MemMgr.get()