4.2. Dynamic libraries and symbols

These functions tell LLVM how to resolve external symbols referred from compiled LLVM code.

llvmlite.binding.add_symbol(name, address)

Register the address of global symbol name, for use from LLVM-compiled functions.

llvmlite.binding.address_of_symbol(name)

Get the in-process address of symbol named name. An integer is returned, or None if the symbol isn’t found.

llvmlite.binding.load_library_permanently(filename)

Load an external shared library. filename should be the path to the shared library file.