Method AddLazyCompiledModule
AddLazyCompiledModule(BitcodeModule, LLVMOrcSymbolResolverFn)
Adds a module for lazy compilation
Declaration
ulong AddLazyCompiledModule(BitcodeModule bitcodeModule, LLVMOrcSymbolResolverFn resolver)
Parameters
ulong AddLazyCompiledModule(BitcodeModule bitcodeModule, LLVMOrcSymbolResolverFn resolver)
BitcodeModule | bitcodeModule | The module to add to the engine |
Llvm.NET.Interop.LLVMOrcSymbolResolverFn | resolver | Symbol resolver delegate |
Returns
UInt64 | Handle for the module in the engine |
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.