Version: 1.1.0

mojo demangle

Turn a compiler-mangled symbol back into a readable Mojo name.

Essentials

  • Paste the symbol from a stack trace or object dump.
  • Useful when a linker error shows only the mangled form.
  • The readable name includes parameter values when they were part of the symbol.

Example

$ mojo demangle _some_mangled_symbol

Keep in mind

If demangle cannot read it, the symbol may belong to C or C++, not Mojo.