This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Demangling C++ global initializers and destructors


Robert Schiele <rschiele at uni-mannheim dot de> writes:

| Hello.
| 
| Currently the -C option on the binutils tools does not demangle global
| C++ initializers and destructors, because the demangler is confused by
| the _GLOBAL__?_ prefix.  The following patch changes this by skipping
| this prefix when handing down to the demangler.  This means for
| example _GLOBAL__I__ZN10HashBasics13hashtablesizeEj is demangled to
| _GLOBAL__I_HashBasics::hashtablesize(unsigned).
| 
| What do you think about such a change?

I welcome this sort of patch.  It believe it is something that need to
be coordinated with GCC's demangler.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]