[PATCH] D155557: [JITLink] Add public APIs for getting stub creation functions.
Sunho Kim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 1 02:34:26 PDT 2023
sunho created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
lhames added a comment.
sunho updated this revision to Diff 545974.
sunho updated this revision to Diff 545975.
sunho updated this revision to Diff 545977.
sunho retitled this revision from "JITLink Stubs API" to "[JITLink] Add public APIs for getting stub creation functions.".
sunho edited the summary of this revision.
sunho added reviewers: lhames, v.g.vassilev.
sunho published this revision for review.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
I'd really rather have an API that returns a function pointer to the stub creator, rather than having a function that switches each time.
sunho added a comment.
Use function getter
sunho added a comment.
- Update
sunho added a comment.
Update
Creating stubs in JITLink require creating architecture-specific edges. In order to allow user to create stubs in cross-architecture manner, this patch exposes these stub creations functions by returning "stub creators" for given triple.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D155557
Files:
llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
llvm/include/llvm/ExecutionEngine/JITLink/x86_64.h
llvm/lib/ExecutionEngine/JITLink/JITLink.cpp
llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp
llvm/unittests/ExecutionEngine/JITLink/CMakeLists.txt
llvm/unittests/ExecutionEngine/JITLink/StubsTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155557.545977.patch
Type: text/x-patch
Size: 12894 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230801/dd5b2ca2/attachment.bin>
More information about the llvm-commits
mailing list