Function llvm_sys::ir_reader::LLVMParseIRInContext

source ยท
pub unsafe extern "C" fn LLVMParseIRInContext(
    ContextRef: LLVMContextRef,
    MemBuf: LLVMMemoryBufferRef,
    OutM: *mut LLVMModuleRef,
    OutMessage: *mut *mut c_char
) -> LLVMBool
Expand description

Read LLVM IR from a memory buffer and convert it to an in-memory Module.

Returns 0 on success, and an optional human-readable description of any errors that occurred.