[Issue 906] GDC Phobos std.demangle can't demangle symbol
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jan 31 00:41:22 PST 2007
http://d.puremagic.com/issues/show_bug.cgi?id=906
------- Comment #6 from afb at algonet.se 2007-01-31 02:41 -------
std.demangle should probably be left to operate on the real symbols - without
the extra underscore, but you might want to add the feature to your simple
program ?
if you use dlsym to load symbols, that will use the symbols without
underscores*. so the extra underscore is more a quirk of the object format,
than anything else.
(* actually something of a minefield if you want portable code, some systems do
require the underscore prepended and yet others do not. but that's another
story)
--
More information about the D.gnu
mailing list