Function llvm_sys::bit_reader::LLVMGetBitcodeModuleInContext

source ยท
pub unsafe extern "C" fn LLVMGetBitcodeModuleInContext(
    ContextRef: LLVMContextRef,
    MemBuf: LLVMMemoryBufferRef,
    OutM: *mut LLVMModuleRef,
    OutMessage: *mut *mut c_char
) -> LLVMBool
๐Ÿ‘Ž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.