PATCH: Fix demangler in symbol versioning
Ian Lance Taylor
ian@wasabisystems.com
Fri Dec 5 01:50:00 GMT 2003
"H. J. Lu" <hjl@lucon.org> writes:
> > It could conceivably lead to incorrect output. I don't know. For
> > example, if you call cplus_demangle ("i", DMGL_TYPES), you will get
> > "int". So if there is an external variable named `i', it seems
> > conceivable that the wrong thing would happen. I haven't thought
> > about whether this could really happen, though.
>
> In that case, we have a regression with cxxfilt. The old one:
>
> # cxxfilt i
> i
>
> The new one:
>
> # ./cxxfilt i
> int
What is ``the old one'' in this case?
I think a c++filt built from any sources in 2003 will print `int' when
passed `i'. Certainly I have one which does that.
Ian
More information about the Gcc
mailing list