LLVMOrcMakeSharedModule

Function LLVMOrcMakeSharedModule 

Source
pub unsafe extern "C" fn LLVMOrcMakeSharedModule(
    Mod: *mut LLVMModule,
) -> *mut LLVMOpaqueSharedModule
Expand description

Turn an LLVMModuleRef into an LLVMSharedModuleRef.

The JIT shares ownership of modules; dispose of the returned shared module with LLVMOrcDisposeSharedModule.