demangling
Demangling is the process of converting a mangled symbol name produced by a compiler into a human-readable form. Name mangling encodes information such as namespaces, classes, overloads, and function signatures into a single symbol in the object file. This enables languages with features like overloading or templates to generate unique linker symbols, but makes raw symbols difficult to read. Demangling is used in error messages, stack traces, debuggers, and profiling tools to present comprehensible identifiers.
Most C++ implementations use an ABI-specific mangling scheme, such as the Itanium C++ ABI. For example, the
Limitations of demangling include its language- and ABI-specific nature; a demangled name is accurate only within