 |
|
|
|
Actions
|
|
[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
Re: [cxx-abi-dev] 3.4 Demangler API, for types
- To: mark@xxxxxxxxxxxxxxxx
- Subject: Re: [cxx-abi-dev] 3.4 Demangler API, for types
- From: Dennis Handly <dhandly@xxxxxxxxxx>
- Date: Fri, 5 Dec 2003 21:59:35 -0800 (PST)
>I'm not sure what c++filt behaves differently when reading "i" from a
>file than on the command-line.
I assume that "i" in a file is more apt to not be a symbol.
And files usually have external symbols with _Z?
>The demangler should demangle "i" to "int".
Yes if on the command line, g++'s c++filt "(C++ demangler), version 3.2".
This version also doesn't handle "foo" on the command line, it prints:
$ /usr/local/bin/c++filt foo
float
>If the name doesn't start with "_Z", the demangler should try to
>demangle the name as a "<type>", as you say.
Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
Ok, I've made that change and for my c++filt, I have the similar diffs
on file vs. command line.
Though I do demangle "foo" as "foo" and not "float".
|
|