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
--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 (49)
| 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 |
--ObjC | - Load all members of static archives that implement Objective-C classes or categories, or Swift structs, classes or extensions | 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: <alias-name>=<aliasee>) | help |
--all_load | - Load all members of static archives | 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 |
--lazy | - Link the following file lazily | 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 |
--num-threads ulong | - Number of materialization threads to use | 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 |
--record-lazy-execs string | - Write lazy-function executions to a CSV file as (JITDylib, function) pairs | help |
--search-sys-lib | - Add system library paths to library search paths | help |
--sectcreate string | - given <sectname>,<filename>[@<sym>=<offset>,...] add the content of <filename> to <sectname> | 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-graphs string | - Takes a posix regex and prints the link graphs of all files matching that regex after fixups have been applied | help |
--show-init-es | - Print ExecutionSession state before resolving entry point | help |
--show-linked-files | - List each file/graph name if/when it is linked | 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 |
--speculate value | - Choose speculation scheme =none - No speculation =simple - Simple speculation | help |
--speculate-order string | - A CSV file containing (JITDylib, Function) pairs tospeculatively look up | help |
--symbolicate-with string | - Given a path to a symbol table file, symbolicate the given backtrace(s) | help |
--triple string | - Override target triple detection | help |
--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 |
--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 file | help |