1 CXXDEMANGLE 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 interactive interface. 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 . The syntax for the interactive interface is: CXXDEMANGLE mangled-symbol-name [...] 2 Command_Parameters mangled-symbol-name 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 interface. 2 Data File 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. 2 Qualifiers The CXXDEMANGLE command accepts a single qualifier: /REPOSITORY=(repository[,...]) 2 /REPOSITORY=(repository[,...]) Names the repository directories which contain the data files used by CXXDEMANGLE. The /REPOSITORY qualifier is ignored if you define the CXX$DEMANGLER_DB logical name. See Data File for details. 2 Customer_feedback Please send comments or suggestions regarding this help file, or any DEC C++ documentation, by electronic mail to the following Internet address: cxx_docs@bookie.enet.dec.com