Function llvm_sys::bit_reader::LLVMParseBitcode
source · [−]pub unsafe extern "C" fn LLVMParseBitcode(
MemBuf: LLVMMemoryBufferRef,
OutModule: *mut LLVMModuleRef,
OutMessage: *mut *mut c_char
) -> LLVMBool
👎Deprecated since 3.8:
Use LLVMParseBitcode2
Expand description
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
.