OS Manuals

/usr/lib/llvm-23/bin/clang-offload-bundler

Clang 23 extras

From clang-23-extras 23.1.5-r0 (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
  --check-input-archive   - Check if input heterogeneous archive is valid in terms of TargetID rules.
  --compress              - Compress output file when bundling.
  --compression-level=<n> - Specify the compression level (integer)
  --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-cpp-output
                              hipi - hip-cpp-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.
  --verbose               - Print debug information.
Options (16)
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
--check-input-archive- Check if input heterogeneous archive is valid in terms of TargetID rules.help
--compress- Compress output file when bundling.help
--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
--verbose- Print debug information.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.