HomePhabricator

[ORC] Introduce C API for adding object buffers directly to an object layer.

Authored by lhames on May 5 2021, 6:29 PM.

Description

[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.

Details

Committed
lhamesMay 5 2021, 7:02 PM
Parents
rG6fac34251d01: [scudo] Add initialization for TSDRegistrySharedT
Branches
Unknown
Tags
Unknown