Demangling C++ global initializers and destructors
Robert Schiele
rschiele@uni-mannheim.de
Fri Feb 28 21:33:00 GMT 2003
On Fri, Feb 28, 2003 at 10:12:32PM +0100, Andreas Schwab wrote:
> Robert Schiele <rschiele@uni-mannheim.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@uni-mannheim.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20030228/e563f6a4/attachment.sig>
More information about the Binutils
mailing list