[cxx-abi-dev] 3.4 Demangler API, for types
Dennis Handly
dhandly at cup.hp.com
Sat Dec 6 05:59:35 UTC 2003
>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 at codesourcery.com>
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".
More information about the cxx-abi-dev
mailing list