llvm_sys::bit_reader

Function LLVMGetBitcodeModule2

source
pub unsafe extern "C" fn LLVMGetBitcodeModule2(
    MemBuf: LLVMMemoryBufferRef,
    OutM: *mut LLVMModuleRef,
) -> LLVMBool
Expand description

Read a module from the specified path.

Outputs a module provider which performs lazy deserialization. Returns 0 on success.