llvm_sys::bit_reader

Function LLVMParseBitcode2

Source
pub unsafe extern "C" fn LLVMParseBitcode2(
    MemBuf: LLVMMemoryBufferRef,
    OutModule: *mut LLVMModuleRef,
) -> LLVMBool
Expand description

Build a module from the bitcode in the specified memory buffer.

Returns the created module in OutModule, returns 0 on success.