Man Page 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 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 suppres-
                         sion of the explanations 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 deman-
                         gling helps  you  to  identify  function
                         names more quickly, but note that in the
                         case of co-variant returns,  some  func-
                         tions differ only in the return type.

          [ no% ] stdlib [Do not] Simplify names from  the  stan-
                         dard library in both the linker and com-
                         piler  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), nm(1), dem(1)