OS Manuals

/usr/bin/llvm-profgen

Low-level virtual machine 15 - core frameworks

From llvm-15 15.0.7-r32 (os), captured 2026-11-05 by running llvm-profgen --help (exit 0). permalink

OVERVIEW: llvm SPGO profile generator

USAGE: llvm-profgen [options]

OPTIONS:

Color Options:

  --color                                       - Use colors in output (default=autodetect)

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

ProfGen Options:

  --binary=<binary>                             - Path of profiled executable binary.
  --debug-binary=<debug-binary>                 - Path of debug info binary, llvm-profgen will load the DWARF info from it instead of the executable binary.
  --llvm-sample-profile=<llvm sample profile>   - Path of the LLVM sample profile
  --perfdata=<perfdata>                         - Path of raw perf data created by Linux perf tool (it should be profiled with -b)
  --perfscript=<perfscript>                     - Path of perf-script trace created by Linux perf tool with `script` command(the raw perf.data should be profiled with -b)
  --pid=<process Id>                            - Process Id for the profiled executable binary.
  --unsymbolized-profile=<unsymbolized profile> - Path of the unsymbolized profile created by `llvm-profgen` with `--skip-symbolization`
Options (10)
OptionDescriptionSource
--color- Use colors in output (default=autodetect)help
--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
--binary binary- Path of profiled executable binary.help
--debug-binary debug-binary- Path of debug info binary, llvm-profgen will load the DWARF info from it instead of the executable binary.help
--llvm-sample-profile llvm- Path of the LLVM sample profilehelp
--perfdata perfdata- Path of raw perf data created by Linux perf tool (it should be profiled with -b)help
--perfscript perfscript- Path of perf-script trace created by Linux perf tool with `script` command(the raw perf.data should be profiled with -b)help
--pid process- Process Id for the profiled executable binary.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.