ΒΆLLVMBool LLVMGetBitcodeModuleInContext2(
    LLVMContextRef ContextRef,
    LLVMMemoryBufferRef MemBuf,
    LLVMModuleRef* OutM)

Description

Reads a module from the specified path, returning via the OutMP parameter a module provider which performs lazy deserialization. Returns 0 on success.

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

Parameters

LLVMContextRef ContextRef
LLVMMemoryBufferRef MemBuf
LLVMModuleRef* OutM