LLVM-SIZE(1)

πŸ“¦
version 16.0.6 Β· 3 versions
, in ubuntu noble

✨ NAME ✨

llvm-size β€” it's the object size dumper from LLVM, and this is her manual page, version 16, and honestly? she's iconic for it πŸ’…


🌸 DESCRIPTION 🌸

OVERVIEW: LLVM object size dumper β€” like, she looks at your object files and tells you how big stuff is. That's the whole vibe. πŸ¦‹

USAGE:

build-llvm/tools/clang/stage2-bins/bin/llvm-size [options] <input object files>

okay so you run her, you hand her some input object files, you give her options if you're feeling fancy, and she dumps the sizes. no cap. ✨

πŸŽ€ 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
bestie listen: you can also pass @FILE as an argument to read options from FILE. yes, the whole option list, straight out of a file. slay. 🫢

and that's the whole page, fr fr. 🌈 this was llvm-size 16, dated April 2024, and she ate, no crumbs. periodt. πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from