[ORC] Allow EPCDebugObjectRegistrar clients to specify registration fn dylib.
authorLang Hames <lhames@gmail.com>
Tue, 25 Oct 2022 15:44:32 +0000 (08:44 -0700)
committerLang Hames <lhames@gmail.com>
Tue, 25 Oct 2022 15:50:27 +0000 (08:50 -0700)
commitb3c9ced93cbc4a497ea350737f80e4d108a7fa53
tree7d5dd4562364965d695f594cc8200fa5c0c6ab5b
parent9000ee2224708853517354818fa58dd0a9a0c0bb
[ORC] Allow EPCDebugObjectRegistrar clients to specify registration fn dylib.

Similar to the EPCEHFrameRegistrar change in c977251ef6f, this allows clients
who have sourced a dylib handle via a side-channel to search that dylib to
find the registration functions.

This patch defaults to the existing behavior in the case where the client does
not specify a handle to use.
llvm/include/llvm/ExecutionEngine/Orc/EPCDebugObjectRegistrar.h
llvm/lib/ExecutionEngine/Orc/EPCDebugObjectRegistrar.cpp