ΒΆLLVMErrorRef LLVMOrcLLJITAddLLVMIRModule(
    LLVMOrcLLJITRef J,
    LLVMOrcJITDylibRef JD,
    LLVMOrcThreadSafeModuleRef TSM)

Description

Add an IR module to the given JITDylib in the given LLJIT instance. This operation transfers ownership of the TSM argument to the LLJIT instance. The TSM argument should not be disposed of or referenced once this function returns. Resources associated with the given Module will be tracked by the given JITDylib's default resource tracker.

Declared at: llvm/include/llvm-c/LLJIT.h:195

Parameters

LLVMOrcLLJITRef J
LLVMOrcJITDylibRef JD
LLVMOrcThreadSafeModuleRef TSM