llvm_sys::bit_reader::LLVMGetBitcodeModuleInContext [] [src]

pub unsafe extern fn LLVMGetBitcodeModuleInContext(ContextRef: LLVMContextRef, MemBuf: LLVMMemoryBufferRef, OutM: *mut LLVMModuleRef, OutMessage: *mut *mut c_char) -> LLVMBool

Read a module from the specified path, returning a module provider performing lazy deserialization.

Returns 0 on success and an optional error message.