OVERVIEW: llvm jitlink tool USAGE: llvm-jitlink [options] input files --args ... --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 - 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= - Inject absolute symbol definitions (syntax: =) --add-self-relocations - Add relocations to function pointers to the current function --alias= - Inject symbol aliases (syntax: =) --all_load - Load all members of static archives --args ... - ... --check= - File containing verifier checks --check-name= - Name of checks to match against --entry= - Symbol to call as main entry point --harness ... - Test harness files --hidden-l= - Link against library X in the library search paths with hidden visibility --jd= - Specifies the JITDylib to be used for any subsequent input file, -L, and -l arguments -l - Link against library X in the library search paths --lazy - Link the following file lazily --load_hidden= - 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= - Number of materialization threads to use --oop-executor[=] - Launch an out-of-process executor to run code --oop-executor-connect= - Connect to an out-of-process executor via TCP --orc-runtime= - Use ORC runtime from given path --phony-externals - resolve all otherwise unresolved externals to null --preload= - Pre-load dynamic libraries (e.g. language runtimes required by the ORC runtime) --record-lazy-execs= - Write lazy-function executions to a CSV file as (JITDylib, function) pairs --search-sys-lib - Add system library paths to library search paths --sectcreate= - given ,[@=,...] add the content of to --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= - 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= - Set slab target address (requires -slab-allocate and -noexec) --slab-allocate= - Allocate from a slab of the given size (allowable suffixes: Kb, Mb, Gb. default = Kb) --slab-page-size= - Set page size for slab (requires -slab-allocate and -noexec) --speculate= - Choose speculation scheme =none - No speculation =simple - Simple speculation --speculate-order= - A CSV file containing (JITDylib, Function) pairs tospeculatively look up --triple= - Override target triple detection --use-shared-memory - Use shared memory to transfer generated code and data --weak-l= - Emulate weak link against library X. Must resolve to a TextAPI file, and all symbols in the interface will resolve to null. --weak_library= - Emulate weak link against library X. X must point to a TextAPI file, and all symbols in the interface will resolve to null