[PATCH] D94690: [Orc] Allow errors via output parameter in LLJITBuilder's CreateObjectLinkingLayer
Stefan Gränitz via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 14 07:37:27 PST 2021
sgraenitz created this revision.
sgraenitz added a reviewer: lhames.
Herald added a subscriber: hiraditya.
sgraenitz requested review of this revision.
Herald added a project: LLVM.
It can be useful for an ObjectLinkingLayerCreator to allow callee errors to get propagated to the builder. Specifically, this is the case when the ObjectLayer uses the EHFrameRegistrationPlugin, because it requires a TPCEHFrameRegistrar and instantiation for it may fail (e.g. if the required registration symbols are missing in the target process).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D94690
Files:
llvm/examples/OrcV2Examples/LLJITWithCustomObjectLinkingLayer/LLJITWithCustomObjectLinkingLayer.cpp
llvm/examples/OrcV2Examples/LLJITWithGDBRegistrationListener/LLJITWithGDBRegistrationListener.cpp
llvm/examples/OrcV2Examples/LLJITWithObjectLinkingLayerPlugin/LLJITWithObjectLinkingLayerPlugin.cpp
llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94690.316658.patch
Type: text/x-patch
Size: 6329 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210114/134d2535/attachment.bin>
More information about the llvm-commits
mailing list