This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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


On Fri, Feb 28, 2003 at 10:12:32PM +0100, Andreas Schwab wrote:
> Robert Schiele <rschiele at uni-mannheim dot de> writes:
> 
> |> 2. How should the demangled representation look like?
> |>    "_GLOBAL__I_HashBasics::hashtablesize(unsigned)" or some more
> |>    readable format?
> 
> There is already code in the demangler that detects _GLOBAL_$[DI]$ (where
> $ is a member of cplus_markers) and transforms that into "global
> (de|con)structor keyed to ...".  I suspect that this just hasn't been
> updated yet to the new mangling scheme.

Ah thanks, I see.  So your intention is to build something similar as
there is already for anonymous namespaces?  Sounds reasonable.

Robert

-- 
Robert Schiele			Tel.: +49-621-181-2517
Dipl.-Wirtsch.informatiker	mailto:rschiele at uni-mannheim dot de

Attachment: pgp00000.pgp
Description: PGP signature


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