OS Manuals

/usr/bin/clang-linker-wrapper

C language family frontend for LLVM 14

From clang-14 14.0.6-r12 (enterprise-packages), captured 2026-11-08 by running clang-linker-wrapper --help (exit 0). permalink

OVERVIEW: A wrapper utility over the host linker. It scans the input files for
sections that require additional processing prior to linking. The tool
will then transparently pass all arguments and input to the specified
host linker to create the final binary.

USAGE: clang-linker-wrapper [options] <options to be passed to linker>...

OPTIONS:

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

clang-linker-wrapper options:

  --cuda-path=<string>      - Save intermediary results.
  --host-triple=<string>    - Triple to use for the host compilation
  --linker-path=<string>    - Path of linker binary
  --opt-level=<string>      - Optimization level for LTO
  --ptxas-args=<string>     - Argument to pass to the ptxas invocation
  --save-temps              - Save intermediary results.
  --strip-sections          - Strip offloading sections from the host object file.
  --target-embed-bc         - Embed linked bitcode instead of an executable device image
  --target-feature=<string> - Target features for triple
  --target-library=<string> - Path for the target bitcode library
  -v                        - Verbose output from tools
Options (12)
OptionDescriptionSource
--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
--cuda-path string- Save intermediary results.help
--host-triple string- Triple to use for the host compilationhelp
--linker-path string- Path of linker binaryhelp
--opt-level string- Optimization level for LTOhelp
--ptxas-args string- Argument to pass to the ptxas invocationhelp
--save-temps- Save intermediary results.help
--strip-sections- Strip offloading sections from the host object file.help
--target-embed-bc- Embed linked bitcode instead of an executable device imagehelp
-v- Verbose output from toolshelp

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