[all-commits] [llvm/llvm-project] 7b73cd: [ORC] Introduce C API for adding object buffers di...
lhames via All-commits
all-commits at lists.llvm.org
Wed May 5 19:12:40 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7b73cd684a8d5fb44d34064200f10e2723085c33
https://github.com/llvm/llvm-project/commit/7b73cd684a8d5fb44d34064200f10e2723085c33
Author: Lang Hames <lhames at gmail.com>
Date: 2021-05-05 (Wed, 05 May 2021)
Changed paths:
M llvm/include/llvm-c/Orc.h
M llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp
M llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
Log Message:
-----------
[ORC] Introduce C API for adding object buffers directly to an object layer.
This can be useful for clients constructing custom JIT stacks: If the C API
for your custom stack exposes API to obtain a reference to an object layer
(e.g. LLVMOrcLLJITGetObjLinkingLayer) then the newly added
LLVMOrcObjectLayerAddObjectFile and LLVMOrcObjectLayerAddObjectFileWithRT
functions can be used to add objects directly to that layer.
More information about the All-commits
mailing list