Go to main content
Oracle Developer Studio 12.6 Man Pages

Exit Print View

Updated: June 2017
 
 

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 Oracle Developer 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...]]

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

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

errors

Shows 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

Demangles the C++ mangled linker names.

returns

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

stdlib

Simplifes 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)