Add llvm::Module::addLibrary to exposed API

This commit is contained in:
Travis E. Oliphant 2012-06-21 01:25:23 -05:00
commit 7b6aac79fb
4 changed files with 16 additions and 0 deletions

View file

@ -50,6 +50,9 @@ extern "C" {
* LLVMDisposeMessage(). */
char *LLVMDumpModuleToString(LLVMModuleRef module);
/* Wraps llvm::Module::addLibrary(name). */
void LLVMModuleAddLibrary(LLVMModuleRef module, const char *name);
/* Wraps llvm::Type::print(). Dispose the returned string after use, via
* LLVMDisposeMessage(). */
char *LLVMDumpTypeToString(LLVMTypeRef type);