SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

MAN page from Trustix binutils-2.10.0.18-2tr.i586.rpm

c++filt

Section: GNU Development Tools (1)
Updated: June 1993
Index

 

NAME

c++filt - demangle C++ symbols

 

SYNOPSIS

c++filt
[-_|--strip-underscores][-s {gnu,lucid,arm} | --format={gnu,lucid,arm}][--help][--version][symbol...]
 

DESCRIPTION

The C++ language provides function overloading, which means that you canwrite many functions with the same name (providing each takes parametersof different types). All C++ function names are encoded into alow-level assembly label (this process is known asmangling). The c++filtprogram does the inverse mapping: it decodes (demangles)low-level names into user-level names so that the linker can keepthese overloaded functions from clashing.

Every alphanumeric word (consisting of letters, digits, underscores,dollars, or periods) seen in the input is a potential label. If thelabel decodes into a C++ name, the C++ name replaces the low-levelname in the output.

You can usec++filtto decipher individual symbols by specifying these symbols on thecommand line.

If nosymbolarguments are given,c++filtreads symbol names from the standard input and writes the demanglednames to the standard output. All results are printed on the standardoutput. 

OPTIONS

-_
--strip-underscores
On some systems, both the C and C++ compilers put anunderscore in front of every name. For example, the C name foogets the low-level name _foo.This option removes the leading underscore.

-s {gnu,lucid,arm}
--format={gnu,lucid,arm}
GNUnmcan decode three different methods of mangling, used by different C++compilers. This option selects which method it uses: the one used bythe GNU compiler, the one used by the Lucid compiler, or the onespecified by the C++ Annotated Reference Manual. The default is theGNU style.

--help
Print a summary of the options toc++filtand exit.

--version
Print the version number ofc++filtand exit.

 

SEE ALSO

`binutils'entry in info; The GNU Binary Utilities, Roland H. Pesch (June 1993).

 

COPYING

Copyright (c) 1993 Free Software Foundation, Inc.

Permission is granted to make and distribute verbatim copies ofthis manual provided the copyright notice and this permission noticeare preserved on all copies.

Permission is granted to copy and distribute modified versions of thismanual under the conditions for verbatim copying, provided that theentire resulting derived work is distributed under the terms of apermission notice identical to this one.

Permission is granted to copy and distribute translations of thismanual into another language, under the above conditions for modifiedversions, except that this permission notice may be included intranslations approved by the Free Software Foundation instead of inthe original English.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
COPYING

This document was created byman2html,using the manual pages.