Skip to Main Content United States    
PRODUCTS SUPPORT SOLUTIONS SERVICES
COMPAQ SOFTWARE
demangle (1) - Compaq Tru64 UNIX

demangle (1)

    decode C++ name encoding

Syntax

  demangle [ -show_mangled_name ] [ -no_vtable_info ] [ - ] [ file...  ]

Description

  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.

Options

  -         Read from the standard input file.

  -show_mangled_name
            Display encoded name in parentheses after demangled name.

  -no_vtable_info
            Suppress the display of information concerning internal symbols
            (specifically __vtbl and __btbl).

Examples

       demangle file

  This command demangles a file containing Compaq C++ encoded names.

       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)
Buy Online or Call 1.800.888.0220      privacy statement and legal notices 
STORES CONTACT US SEARCH PRODUCTS SOLUTIONS OPTIONS DEVELOPERS