LLVMParseIRInContext

Function LLVMParseIRInContext 

Source
pub unsafe extern "C" fn LLVMParseIRInContext(
    ContextRef: *mut LLVMContext,
    MemBuf: *mut LLVMMemoryBuffer,
    OutM: *mut *mut LLVMModule,
    OutMessage: *mut *mut i8,
) -> i32
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.