PATCH: Fix demangler in symbol versioning
Ian Lance Taylor
ian@wasabisystems.com
Thu Dec 4 23:11:00 GMT 2003
More information about the Binutils mailing list
Thu Dec 4 23:11:00 GMT 2003
- Previous message (by thread): PATCH: Fix demangler in symbol versioning
- Next message (by thread): PATCH: Fix demangler in symbol versioning
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"H. J. Lu" <hjl@lucon.org> writes: > > DMGL_TYPES tells the demangler to see if the string is the mangled > > version of a type encoding. I don't think the compiler will ever use > > a type encoding as an external symbol name--that doesn't even really > > make sense--so I don't think there is any need for DMGL_TYPES here. > > > > Will it lead to incorrect output? If not, I'd like to add it. 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. Ian
- Previous message (by thread): PATCH: Fix demangler in symbol versioning
- Next message (by thread): PATCH: Fix demangler in symbol versioning
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list