*Conan The Librarian
The CXXDEMANGLE command enables you to decode compiler-generated names.
To accomplish this, CXXDEMANGLE uses a data file created by the C++
compiler when you compile a program. The data file contains a
mapping of symbol names from their encoded to decoded forms.
When asked to decode a name that is not the data file, CXXDEMANGLE
returns the original name.
CXXDEMANGLE provides two interfaces: a command line interface and an
o To use the command line interface, enter the CXXDEMANGLE command followed
by a comma-separated list of symbol names in their mangled form.
CXXDEMANGLE then displays the demangled form of each symbol and exits.
The syntax for the command line interface is:
CXXDEMANGLE mangled-symbol-name [,...]
o To use the interactive interface, enter the CXXDEMANGLE command without
specifying a symbol name. CXXDEMANGLE then waits for you to enter a
symbol name in its mangled form. When you enter a symbol, CXXDEMANGLE
displays the demangled form of the symbol and waits for you to enter
another symbol, and so forth. To exit the interactive interface, enter
<CTRL/Z>. The syntax for the interactive interface is:
CXXDEMANGLE accepts symbol names in their mangled form, as they might
appear in the output from a CXXLINK/NOEXPAND command.
If you specify a mangled symbol name using the command line interface
and the symbol contains lowercase letters, you must place the symbol
within quotes. For example, $ CXXDEMANGLE "MyFunction__xic". Quotes are
not necessary when entering mangled symbol names using the interactive
You can specify the location of the data file using the logical name
CXX$DEMANGLER_DB. For example, if the data file is in your login directory
and is named MYCXXDB.DAT, you would define the CXX$DEMANGLER_DB logical
name as follows:
$ DEFINE CXX$DEMANGLER_DB SYS$LOGIN:MYCXXDB.DAT
If you do not define the CXX$DEMANGLER_DB logical name, CXXDEMANGLE
looks for the data file in the repositories specified by the /REPOSITORY
qualifier. If you do not specify the /REPOSITORY qualifier, CXXDEMANGLE
looks for the data file in the sys$disk:[.cxx_repository] directory.
The CXXDEMANGLE command accepts two qualifiers:
4 - /REPOSITORY=(repository[,...])
Names the repository directories which contain the data files used by
The /REPOSITORY qualifier is ignored if you define the CXX$DEMANGLER_DB
logical name. See Data File for details.
5 - /MANGLE
Mangles the input string.
Customers with support contracts should seek support for problems through
local customer support centers.
Customers who do not have support contracts are encouraged to mail problem
Although these reports will certainly be used as a source of input
for fixing problems for new releases, we cannot give the reports
individual attention. We can take remedial action only on a best-effort
If you have questions, suggestions, or comments, please send mail to
When reporting problems to HP, please provide the following
o Name and version of compiler (from a listing file)
o Name and version of operating system
o Smallest possible complete source and commands needed to
reproduce the problem
o An example of the incorrect results and the desired results