ΒΆLLVMErrorRef LLVMOrcLLJITAddLLVMIRModuleWithRT(
LLVMOrcLLJITRef J,
LLVMOrcResourceTrackerRef JD,
LLVMOrcThreadSafeModuleRef TSM)
LLVMErrorRef LLVMOrcLLJITAddLLVMIRModuleWithRT(
LLVMOrcLLJITRef J,
LLVMOrcResourceTrackerRef JD,
LLVMOrcThreadSafeModuleRef TSM)
Description
Add an IR module to the given ResourceTracker's 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 ResourceTracker RT.
Declared at: llvm/include/llvm-c/LLJIT.h:208
Parameters
- LLVMOrcLLJITRef J
- LLVMOrcResourceTrackerRef JD
- LLVMOrcThreadSafeModuleRef TSM