------- Comment #4 from cgd at google dot com  2009-07-22 23:44 -------
(In reply to comment #2)
> I don't see a problem with this really since it is a local symbol and will
> never be exported so the ABI never gets involved.  
> 
> a demangled name is only a nice way of displaying the name to the user rather
> than anything else.  The profiles and other tools could figure out if it has
> .clone.n to strip that and then add it back.  User generated symbols will 
> never
> have .clone.n in it unless asm is used.

I could buy your argument, I'm just not quite sure yet.


If this is reasonable output from the compiler, then people will need to take
action (e.g., enhance the debugger, and enhance any tools they care about).

I think output from 'nm' are a good first example case.  What do *you* (or
others) think is appropriate output from 'nm' in this example?  (IIRC binutils
uses the gcc-supplied demangler, right?)

Do you have guidance for how functions like these should be presented by other
tools, e.g., gdb?


BTW, I definitely agree that the current behavior is much more useful than
T.nnnn.  8-)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40831

Reply via email to