File: dynamic-libraries.rst

package info (click to toggle)
llvmlite 0.46.0-0.1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 2,140 kB
  • sloc: python: 13,605; cpp: 3,192; makefile: 185; sh: 168
file content (27 lines) | stat: -rw-r--r-- 680 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
=============================
Dynamic libraries and symbols
=============================

.. currentmodule:: llvmlite.binding

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


* .. function:: add_symbol(name, address)

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


* .. function:: address_of_symbol(name)

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


* .. function:: load_library_permanently(filename)

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