OS Manuals

/usr/bin/llvm-jitlink

Low-level virtual machine 23 - core frameworks

From llvm-23 23.1.5-r0 (os), captured 2026-11-05 by running llvm-jitlink --help (exit 0). permalink

Also provided by 9 other package versions
OVERVIEW: llvm jitlink tool
USAGE: llvm-jitlink [options] input files --args <program arguments>... --harness Test harness files

OPTIONS:

Color Options:

  --color                             - Use colors in output (default=autodetect)

Generic Options:

  --help                              - Display available options (--help-hidden for more)
  --help-list                         - Display list of available options (--help-list-hidden for more)
  --version                           - Display the version of this program

JITLink Options:

  -L <string>                         - Add dir to the list of library search paths
  --ObjC                              - Load all members of static archives that implement Objective-C classes or categories, or Swift structs, classes or extensions
  --abs=<string>                      - Inject absolute symbol definitions (syntax: <name>=<addr>)
  --add-self-relocations              - Add relocations to function pointers to the current function
  --alias=<string>                    - Inject symbol aliases (syntax: <alias-name>=<aliasee>)
  --all_load                          - Load all members of static archives
  --args <string>...                  - <program arguments>...
  --check=<string>                    - File containing verifier checks
  --check-name=<string>               - Name of checks to match against
  --entry=<string>                    - Symbol to call as main entry point
  --harness <string>...               - Test harness files
  --hidden-l=<string>                 - Link against library X in the library search paths with hidden visibility
  --jd=<string>                       - Specifies the JITDylib to be used for any subsequent input file, -L<seacrh-path>, and -l<library> arguments
  -l <string>                         - Link against library X in the library search paths
  --lazy                              - Link the following file lazily
  --load_hidden=<string>              - Link against library X with hidden visibility
  --no-process-syms                   - Do not resolve to llvm-jitlink process symbols
  --noexec                            - Do not execute loaded code
  --num-threads=<ulong>               - Number of materialization threads to use
  --oop-executor[=<string>]             - Launch an out-of-process executor to run code
  --oop-executor-connect=<string>     - Connect to an out-of-process executor via TCP
  --orc-runtime=<string>              - Use ORC runtime from given path
  --phony-externals                   - resolve all otherwise unresolved externals to null
  --preload=<string>                  - Pre-load dynamic libraries (e.g. language runtimes required by the ORC runtime)
  --record-lazy-execs=<string>        - Write lazy-function executions to a CSV file as (JITDylib, function) pairs
  --search-sys-lib                    - Add system library paths to library search paths
  --sectcreate=<string>               - given <sectname>,<filename>[@<sym>=<offset>,...]  add the content of <filename> to <sectname>
  --show-addrs                        - Print registered symbol, section, got and stub addresses
  --show-entry-es                     - Print ExecutionSession state after resolving entry point
  --show-err-failed-to-materialize    - Show FailedToMaterialize errors
  --show-graphs=<string>              - Takes a posix regex and prints the link graphs of all files matching that regex after fixups have been applied
  --show-init-es                      - Print ExecutionSession state before resolving entry point
  --show-linked-files                 - List each file/graph name if/when it is linked
  --show-relocated-section-contents   - show section contents after fixups have been applied
  --show-times                        - Show times for llvm-jitlink phases
  --slab-address=<ulong>              - Set slab target address (requires -slab-allocate and -noexec)
  --slab-allocate=<string>            - Allocate from a slab of the given size (allowable suffixes: Kb, Mb, Gb. default = Kb)
  --slab-page-size=<ulong>            - Set page size for slab (requires -slab-allocate and -noexec)
  --speculate=<value>                 - Choose speculation scheme
    =none                             -   No speculation
    =simple                           -   Simple speculation
  --speculate-order=<string>          - A CSV file containing (JITDylib, Function) pairs tospeculatively look up
  --symbolicate-with=<string>         - Given a path to a symbol table file, symbolicate the given backtrace(s)
  --triple=<string>                   - Override target triple detection
  --use-memmgr=<value>                - Choose memory manager
    =default                          -   Use setup default (InProcess or EPCGeneric)
    =generic                          -   Generic remote memory manager
    =simple-remote                    -   Mapper memory manager with simple-remote backend
    =shared                           -   Mapper memory manager with shared-memory manager
  --waiting-on-graph-capture=<string> - Record WaitingOnGraph operations to the given file
  --waiting-on-graph-replay=<string>  - Replay WaitingOnGraph operations from the given file
  --weak-l=<string>                   - Emulate weak link against library X. Must resolve to a TextAPI file, and all symbols in the interface will resolve to null.
  --weak_library=<string>             - Emulate weak link against library X. X must point to a TextAPI file, and all symbols in the interface will resolve to null
  --write-symtab=<string>             - Write the symbol table for the JIT'd program to the specified file
Options (51)
OptionDescriptionSource
--color- Use colors in output (default=autodetect)help
--help- Display available options (--help-hidden for more)help
--help-list- Display list of available options (--help-list-hidden for more)help
--version- Display the version of this programhelp
-L string- Add dir to the list of library search pathshelp
--ObjC- Load all members of static archives that implement Objective-C classes or categories, or Swift structs, classes or extensionshelp
--abs string- Inject absolute symbol definitions (syntax: <name>=<addr>)help
--add-self-relocations- Add relocations to function pointers to the current functionhelp
--alias string- Inject symbol aliases (syntax: <alias-name>=<aliasee>)help
--all_load- Load all members of static archiveshelp
--args string>...- <program arguments>...help
--check string- File containing verifier checkshelp
--check-name string- Name of checks to match againsthelp
--entry string- Symbol to call as main entry pointhelp
--harness string>...- Test harness fileshelp
--hidden-l string- Link against library X in the library search paths with hidden visibilityhelp
--jd string- Specifies the JITDylib to be used for any subsequent input file, -L<seacrh-path>, and -l<library> argumentshelp
-l string- Link against library X in the library search pathshelp
--lazy- Link the following file lazilyhelp
--load_hidden string- Link against library X with hidden visibilityhelp
--no-process-syms- Do not resolve to llvm-jitlink process symbolshelp
--noexec- Do not execute loaded codehelp
--num-threads ulong- Number of materialization threads to usehelp
--oop-executor string- Launch an out-of-process executor to run codehelp
--oop-executor-connect string- Connect to an out-of-process executor via TCPhelp
--orc-runtime string- Use ORC runtime from given pathhelp
--phony-externals- resolve all otherwise unresolved externals to nullhelp
--preload string- Pre-load dynamic libraries (e.g. language runtimes required by the ORC runtime)help
--record-lazy-execs string- Write lazy-function executions to a CSV file as (JITDylib, function) pairshelp
--search-sys-lib- Add system library paths to library search pathshelp
--sectcreate string- given <sectname>,<filename>[@<sym>=<offset>,...] add the content of <filename> to <sectname>help
--show-addrs- Print registered symbol, section, got and stub addresseshelp
--show-entry-es- Print ExecutionSession state after resolving entry pointhelp
--show-err-failed-to-materialize- Show FailedToMaterialize errorshelp
--show-graphs string- Takes a posix regex and prints the link graphs of all files matching that regex after fixups have been appliedhelp
--show-init-es- Print ExecutionSession state before resolving entry pointhelp
--show-linked-files- List each file/graph name if/when it is linkedhelp
--show-relocated-section-contents- show section contents after fixups have been appliedhelp
--show-times- Show times for llvm-jitlink phaseshelp
--slab-address ulong- Set slab target address (requires -slab-allocate and -noexec)help
--slab-allocate string- Allocate from a slab of the given size (allowable suffixes: Kb, Mb, Gb.help
--slab-page-size ulong- Set page size for slab (requires -slab-allocate and -noexec)help
--speculate value- Choose speculation scheme =none - No speculation =simple - Simple speculationhelp
--speculate-order string- A CSV file containing (JITDylib, Function) pairs tospeculatively look uphelp
--symbolicate-with string- Given a path to a symbol table file, symbolicate the given backtrace(s)help
--triple string- Override target triple detectionhelp
--use-memmgr value- Choose memory manager =default - Use setup default (InProcess or EPCGeneric) =generic - Generic remote memory manager =simple-remote - Mapper memory manager with simple-remote backend =shared -…help
--waiting-on-graph-replay string- Replay WaitingOnGraph operations from the given filehelp
--weak-l string- Emulate weak link against library X.help
--weak_library string- Emulate weak link against library X.help
--write-symtab string- Write the symbol table for the JIT'd program to the specified filehelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.