OS Manuals

/usr/bin/swift-demangle

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 6.4.2-r0 (enterprise-packages), captured 2026-11-08 by running swift-demangle --help (exit 0). permalink

USAGE: swift-demangle [options] [mangled name...]

OPTIONS:

Color Options:

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

General options:

  --classify             - Display symbol classification characters
  --compact              - Compact mode (only emit the demangled names)
  --expand               - Expand mode (show node structure of the demangling)
  --no-sugar             - No sugar mode (disable common language idioms such as ? and [] from the output)
  --remangle-new         - Remangle the symbol with new mangling scheme
  --remangle-objc-rt     - Remangle to the ObjC runtime name mangling scheme
  --simplified           - Don't display module names or implicit self types
  --strip-specialization - Remangle the origin of a specialized function
  --test-remangle        - Remangle test mode (show the remangled string)
  --tree-only            - Tree-only mode (do not show the demangled string)
  --type                 - Demangle a runtime type string

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 (14)
OptionDescriptionSource
--color- Use colors in output (default=autodetect)help
--classify- Display symbol classification charactershelp
--compact- Compact mode (only emit the demangled names)help
--expand- Expand mode (show node structure of the demangling)help
--no-sugar- No sugar mode (disable common language idioms such as ? and [] from the output)help
--remangle-new- Remangle the symbol with new mangling schemehelp
--remangle-objc-rt- Remangle to the ObjC runtime name mangling schemehelp
--simplified- Don't display module names or implicit self typeshelp
--test-remangle- Remangle test mode (show the remangled string)help
--tree-only- Tree-only mode (do not show the demangled string)help
--type- Demangle a runtime type stringhelp
--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.