llvm-project
29dd97b1 - [orc-rt] Add LoaderEngine skeleton and SPS create interface. (#248819)

Commit
3 hours ago
[orc-rt] Add LoaderEngine skeleton and SPS create interface. (#248819) LoaderEngine will be responsible for loading JIT'd images in the ORC runtime. For now it only logs its construction and destruction, so that creation via the controller interface can be verified. The new orc_rt_ci_sps_LoaderEngine_create wrapper constructs a LoaderEngine, publishes it as the orc_rt_LoaderEngine_Instance instance symbol, transfers ownership to the calling Session via an on-shutdown callback, and returns the instance address. Since the instance symbol name is fixed, create succeeds at most once per Session.
Author
Parents
Loading