Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 680 Bytes

dynamic-libraries.rst

File metadata and controls

27 lines (15 loc) · 680 Bytes

Dynamic libraries and symbols

llvmlite.binding

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

  • add_symbol(name, address)

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

  • address_of_symbol(name)

    Get the in-process address of symbol name. An integer is returned, or None if the symbol is not found.

  • load_library_permanently(filename)

    Load an external shared library. filename is the path to the shared library file.