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 Sun C++ versions 4.x through the version in which it
ships.
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
[no%]errors [Do not] Show the C++ explanations of the linker
error messages. The suppression of the explana‐
tions is useful when the linker diagnostics are
provided directly to another tool.
[no%]names [Do not] Demangle the C++ mangled linker names.
[no%]returns [Do not] Demangle the return types of functions.
Suppression of this demangling helps you to iden‐
tify function names more quickly, but note that
in the case of co-variant returns, some functions
differ only in the return type.
[ no% ] stdlib [Do not] 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 ALSOCC(1), nm(1), dem(1)4th Berkeley Distribution April 7, 2007 c++filt(1)