OS Manuals

/usr/bin/llvm-jitlink

Low-level virtual machine 17 - core frameworks

From llvm-17 17.0.6-r30 (os), captured 2026-11-05 by running llvm-jitlink --help (exit 0). permalink

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
  --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>)
  --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
  --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
  --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)
  --search-sys-lib                  - Add system library paths to library search paths
  --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-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)
  --use-shared-memory               - Use shared memory to transfer generated code and data
Options (35)
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
--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
--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
--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
--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
--search-sys-lib- Add system library paths to library search pathshelp
--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-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
--use-shared-memory- Use shared memory to transfer generated code and datahelp

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