OVERVIEW: LLVM Linker USAGE: /usr/bin/wasm-ld [options] file... OPTIONS: --allow-undefined-file= Allow symbols listed in to be undefined in linked binary --allow-undefined Allow undefined symbols in linked binary. This options is equivalent to --import-undefined and --unresolved-symbols=ignore-all --Bsymbolic Bind defined symbols locally --check-features Check feature compatibility of linked objects (default) --color-diagnostics=[auto,always,never] Use colors in diagnostics (default: auto) --color-diagnostics Alias for --color-diagnostics=always --compress-relocations Compress the relocation targets in the code section. --demangle Demangle symbol names --emit-relocs Generate relocations in output --entry Name of entry point symbol --error-limit= Maximum number of errors to emit before stopping (0 = no limit) --error-unresolved-symbols Report unresolved symbols as errors --experimental-pic Enable Experimental PIC --export-all Export all symbols (normally combined with --no-gc-sections) --export-dynamic Put symbols in the dynamic symbol table --export-if-defined= Force a symbol to be exported, if it is defined in the input --export-table Export function table to the environment --export= Force a symbol to be exported -E Alias for --export-dynamic --fatal-warnings Treat warnings as errors --features= Comma-separated used features, inferred from input objects by default. --gc-sections Enable garbage collection of unused sections --global-base= Where to start to place global data --growable-table Remove maximum size from function table, allowing table to grow --help Print option help --import-memory Import memory from the environment --import-table Import function table from the environment --import-undefined Turn undefined symbols into imports where possible --initial-memory= Initial size of the linear memory --lto-debug-pass-manager Debug new pass manager --lto-O Optimization level for LTO --lto-partitions= Number of LTO codegen partitions -L Add a directory to the library search path -l Root name of library to use --Map= Print a link map to the specified file --max-memory= Maximum size of the linear memory --merge-data-segments Enable merging data segments --mllvm= Additional arguments to forward to LLVM's option processing -M Alias for --print-map -m Set target emulation --no-check-features Ignore feature compatibility of linked objects --no-color-diagnostics Alias for --color-diagnostics=never --no-demangle Do not demangle symbol names --no-entry Do not output any entry point --no-export-dynamic Do not put symbols in the dynamic symbol table (default) --no-gc-sections Disable garbage collection of unused sections --no-lto-legacy-pass-manager Use new pass manager --no-merge-data-segments Disable merging data segments --no-pie Do not create a position independent executable (default) --no-print-gc-sections Do not list removed unused sections --no-whole-archive Do not force load of all members in a static library (default) -O Optimize output file size -o Path to file to write output --pie Create a position independent executable --print-gc-sections List removed unused sections --print-map Print a link map to the standard output --relocatable Create relocatable object file --reproduce= Dump linker invocation and input files for debugging --rsp-quoting=[posix,windows] Quoting style for response files --save-temps Save intermediate LTO compilation results --shared-memory Use shared linear memory --shared Build a shared object --stack-first Place stack at start of linear memory rather than after data --strip-all Strip all symbols --strip-debug Strip debugging information -S Alias for --strip-debug -s Alias for --strip-all --thinlto-cache-dir= Path to ThinLTO cached object file directory --thinlto-cache-policy= Pruning policy for the ThinLTO cache --thinlto-jobs= Number of ThinLTO jobs. Default to --threads= --threads= Number of threads. '1' disables multi-threading. By default all available hardware threads are used --trace-symbol= Trace references to symbols --trace Print the names of the input files -t Alias for --trace --undefined= Force undefined symbol during linking --unresolved-symbols= Determine how to handle unresolved symbols --verbose Verbose mode --version Display the version number and exit -v Display the version number --warn-unresolved-symbols Report unresolved symbols as warnings --whole-archive Force load of all members in a static library --wrap== Use wrapper functions for symbol -y Alias for --trace-symbol -z