Function llvm_sys::bit_reader::LLVMGetBitcodeModuleInContext
source · [−]pub unsafe extern "C" fn LLVMGetBitcodeModuleInContext(
ContextRef: LLVMContextRef,
MemBuf: LLVMMemoryBufferRef,
OutM: *mut LLVMModuleRef,
OutMessage: *mut *mut c_char
) -> LLVMBool
👎Deprecated since 3.8:
Use LLVMGetBitcodeModuleInContext2
Expand description
Read a module from the specified path, returning a module provider performing lazy deserialization.
Returns 0 on success and an optional error message.