Method AddLazyCompiledModule
AddLazyCompiledModule(BitcodeModule, LLVMOrcSymbolResolverFn)
Adds a module for lazy compilation
Declaration
public ulong AddLazyCompiledModule(BitcodeModule bitcodeModule, LLVMOrcSymbolResolverFn resolver)
Parameters
public ulong AddLazyCompiledModule(BitcodeModule bitcodeModule, LLVMOrcSymbolResolverFn resolver)
BitcodeModule | bitcodeModule | The module to add to the engine |
Ubiquity.NET.Llvm.Interop.LLVMOrcSymbolResolverFn | resolver | Symbol resolver delegate |
Returns
UInt64 | Handle for the module in the engine |
Implements
Remarks
warning
For the JIT engine the input bitcodeModule
is disconnected from
the underlying LLVM module as the module is considered fully owned by the engine.