Add llvm::Module::addLibrary to exposed API
This commit is contained in:
parent
4307287b39
commit
7b6aac79fb
4 changed files with 16 additions and 0 deletions
|
|
@ -505,6 +505,9 @@ class Module(llvm.Ownable, llvm.Cacheable):
|
|||
raise llvm.LLVMException("Unable to create bitcode")
|
||||
fileobj.write(data)
|
||||
|
||||
def add_library(self, name):
|
||||
return _core.LLVMModuleAddLibrary(self.ptr, name)
|
||||
|
||||
|
||||
#===----------------------------------------------------------------------===
|
||||
# Types
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue