This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Demangling C++ global initializers and destructors
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.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab at suse dot de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."