LLVMCreateModuleProviderForExistingModule

Function LLVMCreateModuleProviderForExistingModule 

Source
pub unsafe extern "C" fn LLVMCreateModuleProviderForExistingModule(
    M: LLVMModuleRef,
) -> LLVMModuleProviderRef
Expand description

Changes the type of M so it can be passed to FunctionPassManagers and the JIT. They take ModuleProviders for historical reasons.