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: <name>=<addr>) --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) --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-graph - Print the link graph 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-sizes - Show sizes pre- and post-dead stripping, and allocations --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)
Options (34)
| Option | Description | Source |
|---|---|---|
--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 program | help |
-L string | - Add dir to the list of library search paths | help |
--abs string | - Inject absolute symbol definitions (syntax: <name>=<addr>) | help |
--add-self-relocations | - Add relocations to function pointers to the current function | help |
--alias string | - Inject symbol aliases (syntax: <name>=<addr>) | help |
--args string>... | - <program arguments>... | help |
--check string | - File containing verifier checks | help |
--check-name string | - Name of checks to match against | help |
--entry string | - Symbol to call as main entry point | help |
--harness string>... | - Test harness files | help |
--hidden-l string | - Link against library X in the library search paths with hidden visibility | help |
--jd string | - Specifies the JITDylib to be used for any subsequent input file, -L<seacrh-path>, and -l<library> arguments | help |
-l string | - Link against library X in the library search paths | help |
--load_hidden string | - Link against library X with hidden visibility | help |
--no-process-syms | - Do not resolve to llvm-jitlink process symbols | help |
--noexec | - Do not execute loaded code | help |
--oop-executor string | - Launch an out-of-process executor to run code | help |
--oop-executor-connect string | - Connect to an out-of-process executor via TCP | help |
--orc-runtime string | - Use ORC runtime from given path | help |
--phony-externals | - resolve all otherwise unresolved externals to null | help |
--preload string | - Pre-load dynamic libraries (e.g. language runtimes required by the ORC runtime) | help |
--show-addrs | - Print registered symbol, section, got and stub addresses | help |
--show-entry-es | - Print ExecutionSession state after resolving entry point | help |
--show-err-failed-to-materialize | - Show FailedToMaterialize errors | help |
--show-graph | - Print the link graph after fixups have been applied | help |
--show-init-es | - Print ExecutionSession state before resolving entry point | help |
--show-sizes | - Show sizes pre- and post-dead stripping, and allocations | help |
--show-times | - Show times for llvm-jitlink phases | help |
--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 |