OS Manuals

/usr/lib/llvm-17/bin/llvm-size

Low-level virtual machine 17 - core frameworks

From llvm-17 17.0.6-r30 (os), captured 2026-11-05 by running llvm-size --help (exit 0). permalink

OVERVIEW: LLVM object size dumper

USAGE: /usr/lib/llvm-17/bin/llvm-size [options] <input object files>

OPTIONS:
  -A               Alias for --format
  -B               Alias for --format
  --common         Print common symbols in the ELF file. When using Berkeley format, this is added to bss
  -d               Alias for --radix=10
  --format=<value> Specify output format
  --help           Display this help
  -h               Alias for --help
  -m               Alias for --format
  -o               Alias for --radix=8
  --radix=<value>  Print size in radix
  --totals         Print totals of all objects - Berkeley format only
  -t               Alias for --totals
  --version        Display the version
  -x               Alias for --radix=16

OPTIONS (Mach-O specific):
  --arch=<value> architecture(s) from a Mach-O file to dump
  -l             When format is darwin, use long format to include addresses and offsets

Pass @FILE as argument to read options from FILE.
Options (14)
OptionDescriptionSource
-AAlias for --formathelp
-BAlias for --formathelp
--commonPrint common symbols in the ELF file.help
-dAlias for --radix=10help
--helpDisplay this helphelp
-hAlias for --helphelp
-mAlias for --formathelp
-oAlias for --radix=8help
--radix valuePrint size in radixhelp
--totalsPrint totals of all objects - Berkeley format onlyhelp
-tAlias for --totalshelp
--versionDisplay the versionhelp
-xAlias for --radix=16help
-lWhen format is darwin, use long format to include addresses and offsetshelp

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