Demangling C++ global initializers and destructors
Andreas Schwab
schwab@suse.de
Fri Feb 28 15:25:00 GMT 2003
Robert Schiele <rschiele@uni-mannheim.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 think this should rather be fixed in the demangler, so that it properly
detects ctor/dtor symbols.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.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."
More information about the Binutils
mailing list