OS Manuals

/usr/lib/llvm-20/bin/llvm-cgdata

Low-level virtual machine 20 - core frameworks

From llvm-20 20.1.8-r21 (os), captured 2026-11-05 by running llvm-cgdata --help (exit 0). permalink

OVERVIEW: /usr/lib/llvm-20/bin/llvm-cgdata

USAGE: llvm-cgdata <action> [options] (<binary files>|<.cgdata file>)

Action (required):
  --convert Convert the (indexed) codegen data file in either text or binary format.
  -c        Alias for --convert
  --merge   Take binary files having raw codegen data in custom sections, and merge them into an indexed codegen data file.
  -m        Alias for --merge
  --show    Show summary of the (indexed) codegen data file.
  -s        Alias for --show

Generic Options:
  --help    Display this help
  -h        Alias for --help
  --version Display the LLVM version
  -v        Alias for --version

OPTIONS:
  --cgdata-version Display the cgdata version
  --format <value> Specify the output format (text or binary)
  -f <value>       Alias for --format
  --output <file>  Specify the name for the output file to be created
  -o <file>        Alias for --output
  --skip-trim      Skip trimming content when merging the cgdata
Options (12)
OptionDescriptionSource
-cAlias for --converthelp
--mergeTake binary files having raw codegen data in custom sections, and merge them into an indexed codegen data file.help
-mAlias for --mergehelp
--showShow summary of the (indexed) codegen data file.help
-sAlias for --showhelp
--helpDisplay this helphelp
-hAlias for --helphelp
-vAlias for --versionhelp
-f valueAlias for --formathelp
--output fileSpecify the name for the output file to be createdhelp
-o fileAlias for --outputhelp
--skip-trimSkip trimming content when merging the cgdatahelp

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