OS Manuals

/usr/bin/clang-offload-bundler

Clang 15 extras

From clang-15-extras 15.0.7-r32 (os), captured 2026-11-05 by running clang-offload-bundler --help (exit 0). permalink

OVERVIEW: A tool to bundle several input files of the specified type <type>
referring to the same source file but different targets into a single
one. The resulting file can also be unbundled into different files by
this tool if -unbundle is provided.

USAGE: clang-offload-bundler [options]

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-offload-bundler options:

  --###                   - Print any external commands that are to be executed instead of actually executing them - for testing purposes.
  --allow-missing-bundles - Create empty files if bundles are missing when unbundling.
  --bundle-align=<uint>   - Alignment of bundle for binary files
  --hip-openmp-compatible - Treat hip and hipv4 offload kinds as compatible with openmp kind, and vice versa.
  --input=<string>        - Input file. Can be specified multiple times for multiple input files.
  --inputs=<string>       - [<input file>,...] (deprecated)
  --list                  - List bundle IDs in the bundled file.
  --output=<string>       - Output file. Can be specified multiple times for multiple output files.
  --outputs=<string>      - [<output file>,...] (deprecated)
  --targets=<string>      - [<offload kind>-<target triple>,...]
  --type=<string>         - Type of the files to be bundled/unbundled.
                            Current supported types are:
                              i   - cpp-output
                              ii  - c++-cpp-output
                              cui - cuda/hip-output
                              d   - dependency
                              ll  - llvm
                              bc  - llvm-bc
                              s   - assembler
                              o   - object
                              a   - archive of objects
                              gch - precompiled-header
                              ast - clang AST file
  --unbundle              - Unbundle bundled file into several output files.
Options (13)
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
--###- Print any external commands that are to be executed instead of actually executing them - for testing purposes.help
--bundle-align uint- Alignment of bundle for binary fileshelp
--input string- Input file.help
--inputs string- [<input file>,...] (deprecated)help
--list- List bundle IDs in the bundled file.help
--output string- Output file.help
--outputs string- [<output file>,...] (deprecated)help
--targets string- [<offload kind>-<target triple>,...]help
--type string- Type of the files to be bundled/unbundled.help
--unbundle- Unbundle bundled file into several output files.help

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