OS Manuals

/usr/bin/swift-reflection-dump

Swift is a high-performance system programming language. It has a clean and modern syntax, offers seamless access to existing C and Objective-C code and frameworks, and is memory-safe by default.

From swift-bootstrap-5-10-1 5.10.1-r7 (enterprise-packages), captured 2026-11-08 by running swift-reflection-dump --help (exit 0). permalink

OVERVIEW: Swift Reflection Dump

USAGE: swift-reflection-dump [options] Filenames of the binary files

OPTIONS:

Color Options:

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

General options:

  --arch=<string>                     - Architecture to inspect in the binary
  --disable-i2p-p2i-opt               - Disables inttoptr/ptrtoint roundtrip optimization
  Mode:
      --dump-reflection-sections         - Dump the field reflection section
      --dump-type-lowering               - Dump the field layout for typeref strings read from stdin
  --enable-swifttailcc-musttail-check - Check that tail calls from swifttailcc functions to swifttailcc functions are marked musttail.
  --opaque-pointers                   - Use opaque pointers

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
Options (9)
OptionDescriptionSource
--color- Use colors in output (default=autodetect)help
--arch string- Architecture to inspect in the binaryhelp
--disable-i2p-p2i-opt- Disables inttoptr/ptrtoint roundtrip optimizationhelp
--dump-reflection-sections- Dump the field reflection sectionhelp
--dump-type-lowering- Dump the field layout for typeref strings read from stdinhelp
--opaque-pointers- Use opaque pointershelp
--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

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