llvm_sys::ir_reader::LLVMParseIRInContext
[−]
[src]
pub unsafe extern fn LLVMParseIRInContext(ContextRef: LLVMContextRef, MemBuf: LLVMMemoryBufferRef, OutM: *mut LLVMModuleRef, OutMessage: *mut *mut c_char) -> LLVMBool
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.