Compaq C++ User Documentation
demangle - decode C++ name encoding
Syntaxdemangle [ -show_mangled_name ] [ -no_vtable_info ] [ - ] [ file... ]
Function name mangling allows object code to have distinct names for functions that share the same name in the C++ source code and enables type-safe linkage. A name demangler is provided to translate such mangled names into the function names that appear in the source code, so that they are recognizable by the user.
The demangle command reads each file in sequence, demangles any Compaq C++ encoded names, and displays the result on the standard output. If no input file is given, or if a minus sign (-) is encountered as an argument (for example, demangle -), the demangle command reads from the standard input file. The demangle utility supports the processing of 8-bit characters.
Read from the standard input file.
ld main.o foo.o |& demangle
This command (from the C shell) demangles the output from the linker (ld) when linking the main.o and foo.o files.
cxx foo.cxx |& demangle
This command (from the C shell) demangles the output from the linker when it is invoked implicitly through the cxx command to compile foo.cxx.
See also cxx(1)
|About PDF files: The PDF files on this site can be read online or printed using Adobe® Acrobat® Reader. If you do not have this software on your system, you may download it from Adobe's website.|