Oracle Solaris Studio 12.4 Man Pages

Exit Print View

Updated: January 2015
 
 

c++filt(1)

Name

c++filt - c++ name demangler

Synopsis

c++filt [-filt] filename...

Description

c++filt copies each file name in sequence, and writes it on the standard output after decoding symbols that look like C++ mangled names.

c++filt handles Solaris Studio C++ legacy versions as well as the current version.

c++filt reads from the standard input if no input file is specified.

Options

-filt[=filter[,filter...]]

Suppress the filtering that CC normally applies to linker error messages.

filter must be one of the following values. Adding the prefix no% disables that suboption from the command-line defaults.

errors

Show the C++ explanations of the linker error messages. The suppression of the explanations is useful when the linker diagnostics are provided directly to another tool.

names

Demangle the C++ mangled linker names.

returns

Demangle the return types of functions. Suppression of this demangling helps you to identify function names more quickly, but note that in the case of co-variant returns, some functions differ only in the return type.

stdlib

Simplify names from the standard library in both the linker and compiler error messages. This makes it easier for you to recognize the name of standard-library functions.

%all

Equivalent to -filt=errors,names,returns,stdlib. This is the default behavior.

%none

Equivalent to -filt=no%errors,no%names,no%returns,no%stdlib.

Defaults:

If you do not specify the -filt option, or if you specify -filt without any values, then the compiler assumes -filt=errors,names,returns,stdlib.

Interactions:

[no%]returns has no effect when used with no%names. That is, the following options are equivalent:

-filt=no%names
-filt=no%names,no%returns
-filt=no%names,returns

See also

CC (1) , dem (1) , nm (1)