39 *OutMessage =
strdup(Message.c_str());
59 *OutMessage =
strdup(Message.c_str());
79 reinterpret_cast<LLVMModuleRef*>(OutMP),
Module * getLazyBitcodeModule(MemoryBuffer *Buffer, LLVMContext &Context, std::string *ErrMsg=0)
LLVMContext ** unwrap(LLVMContextRef *Tys)
LLVMBool LLVMParseBitcode(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutModule, char **OutMessage)
LLVMBool LLVMGetBitcodeModuleProvider(LLVMMemoryBufferRef MemBuf, LLVMModuleProviderRef *OutMP, char **OutMessage)
LLVMBool LLVMGetBitcodeModuleProviderInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, LLVMModuleProviderRef *OutMP, char **OutMessage)
struct LLVMOpaqueMemoryBuffer * LLVMMemoryBufferRef
struct LLVMOpaqueModuleProvider * LLVMModuleProviderRef
LLVMBool LLVMParseBitcodeInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutModule, char **OutMessage)
struct LLVMOpaqueContext * LLVMContextRef
LLVMBool LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM, char **OutMessage)
char *strdup(const char *s1);
LLVMContextRef * wrap(const LLVMContext **Tys)
LLVMBool LLVMGetBitcodeModuleInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM, char **OutMessage)
Module * ParseBitcodeFile(MemoryBuffer *Buffer, LLVMContext &Context, std::string *ErrMsg=0)
struct LLVMOpaqueModule * LLVMModuleRef
LLVMContextRef LLVMGetGlobalContext(void)
LLVMContext & getGlobalContext()