• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: c++filt
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: c++filt


  • Subject: Re: c++filt
  • From: Zachary Pincus <email@hidden>
  • Date: Wed, 27 Jul 2005 09:36:27 -0700

This is pretty funny, because on symbols I'm dealing with (mangled names of templated clases that you get from the type_info objects), c+ +filt works *exactly opposite*!

That is, passing the name in standard input fails, but it works as an argument.
Try it with this mangled name:
N2Py15ExtensionObjectI15ITKImageWrapperIN3itk5ImageIfLj2EEEEEE


> c++filt N2Py15ExtensionObjectI15ITKImageWrapperIN3itk5ImageIfLj2EEEEEE
gives
Py::ExtensionObject<ITKImageWrapper<itk::Image<float, 2u> > >


but
> echo N2Py15ExtensionObjectI15ITKImageWrapperIN3itk5ImageIfLj2EEEEEE | c++filt
gives
N2Py15ExtensionObjectI15ITKImageWrapperIN3itk5ImageIfLj2EEEEEE


Why does c++filt seem so broken?

Zach Pincus

Program in Biomedical Informatics and Department of Biochemistry
Stanford University School of Medicine

On Jul 27, 2005, at 8:42 AM, Jerry wrote:


On 27 Jul 2005, at 16:25, Karan, Cem (Civ, ARL/CISD) wrote:

Does anyone know how to correctly use c++filt? I'm using the output from gcc 4, and I can't get it to work. E.g., my symbol is __ZN14AppLayerBridge12setLogWindowEP10NSTextView.eh, and the command that I use is "c++filt __ZN14AppLayerBridge12setLogWindowEP10NSTextView.eh", but that just returns __ZN14AppLayerBridge12setLogWindowEP10NSTextView.eh right back to me... not what I expected.

For some reason, c++filt seems to just echo its arguments back to you but if you give it no arguments and type the symbol (without the trailing .eh) on standard input it'll work.


Jerry

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40stanford.edu


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >c++filt (From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>)
 >Re: c++filt (From: Jerry <email@hidden>)

  • Prev by Date: Re: XCode editor intolerably slow
  • Next by Date: Re: warnings
  • Previous by thread: Re: c++filt
  • Next by thread: Re: c++filt
  • Index(es):
    • Date
    • Thread