llvm_sys::bit_reader

Function LLVMGetBitcodeModuleInContext2

Source
pub unsafe extern "C" fn LLVMGetBitcodeModuleInContext2(
    ContextRef: LLVMContextRef,
    MemBuf: LLVMMemoryBufferRef,
    OutM: *mut LLVMModuleRef,
) -> LLVMBool
Expand description

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

Returns 0 on success.