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

pub unsafe extern 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.