c++filt(1)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 stan‐
dard output after decoding symbols that look like C++ mangled names.
c++filt handles Solaris Studio C++ legacy versions as well as the cur‐
rent version.
c++filt reads from the standard input if no input file is specified.
-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 mes‐
sages. 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 eas‐
ier 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 ALSOCC(1), nm(1), dem(1)4th Berkeley Distribution June 2011 c++filt(1)