[ORC] Add static and dynamic library generator support to C API.
authorTommi Pisto <tommi@pis.to>
Mon, 11 Oct 2021 16:19:17 +0000 (09:19 -0700)
committerLang Hames <lhames@gmail.com>
Mon, 11 Oct 2021 16:25:59 +0000 (09:25 -0700)
commit42b588a2000e872d63326a623982c75ab5ac28a9
tree6ea6139261081fb46399365a198f55b56d653ff7
parentf5c0c9179f555b2406fcc1a5921d60fd1e534425
[ORC] Add static and dynamic library generator support to C API.

Adds LLVMOrcCreateStaticLibrarySearchGeneratorForPath and
LLVMOrcCreateDynamicLibrarySearchGeneratorForPath functions to create generators
for static and dynamic libraries.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D108535
llvm/include/llvm-c/Orc.h
llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp