[][src]Function llvm_sys::bit_reader::LLVMParseBitcode

pub unsafe extern "C" fn LLVMParseBitcode(
    MemBuf: LLVMMemoryBufferRef,
    OutModule: *mut LLVMModuleRef,
    OutMessage: *mut *mut c_char
) -> LLVMBool

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

Returns 0 on success and the generated module in OutModule. Optionally returns a human-readable error message in OutMessage.