Function LLVMGetBitcodeModuleInContext

Source
pub unsafe extern "C" fn LLVMGetBitcodeModuleInContext(
    ContextRef: *mut LLVMContext,
    MemBuf: *mut LLVMMemoryBuffer,
    OutM: *mut *mut LLVMModule,
    OutMessage: *mut *mut i8,
) -> i32
👎Deprecated since 3.8: Use LLVMGetBitcodeModuleInContext2
Expand description

Read a module from the specified path, returning a module provider performing lazy deserialization.

Returns 0 on success and an optional error message.