ΒΆLLVMBool LLVMGetBitcodeModuleInContext(
    LLVMContextRef ContextRef,
    LLVMMemoryBufferRef MemBuf,
    LLVMModuleRef* OutM,
    char** OutMessage)

Description

Reads a module from the specified path, returning via the OutMP parameter a module provider which performs lazy deserialization. Returns 0 on success. Optionally returns a human-readable error message via OutMessage. This is deprecated. Use LLVMGetBitcodeModuleInContext2.

Declared at: llvm/include/llvm-c/BitReader.h:60

Parameters

LLVMContextRef ContextRef
LLVMMemoryBufferRef MemBuf
LLVMModuleRef* OutM
char** OutMessage