ΒΆLLVMErrorRef LLVMOrcCreateLLJIT(
LLVMOrcLLJITRef* Result,
LLVMOrcLLJITBuilderRef Builder)
LLVMErrorRef LLVMOrcCreateLLJIT(
LLVMOrcLLJITRef* Result,
LLVMOrcLLJITBuilderRef Builder)
Description
Create an LLJIT instance from an LLJITBuilder. This operation takes ownership of the Builder argument: clients should not dispose of the builder after calling this function (even if the function returns an error). If a null Builder argument is provided then a default-constructed LLJITBuilder will be used. On success the resulting LLJIT instance is uniquely owned by the client and automatically manages the memory of all JIT'd code and all modules that are transferred to it (e.g. via LLVMOrcLLJITAddLLVMIRModule). Disposing of the LLJIT instance will free all memory managed by the JIT, including JIT'd code and not-yet compiled modules.
Declared at: llvm/include/llvm-c/LLJIT.h:116
Parameters
- LLVMOrcLLJITRef* Result
- LLVMOrcLLJITBuilderRef Builder