[phobos] core.demangle replacing std.demangle?
Rainer Schuetze
r.sagitario at gmx.de
Sat Sep 25 00:49:01 PDT 2010
Sean Kelly wrote:
> I wasn't sure whether to fix std.demangle now that core.demangle works, or to replace/deprecate it. At the time I just needed something in druntime and I didn't like how std.demangle did everything via string ops. What do you all think?
>
> Sent from my iPhone
>
> On Sep 10, 2010, at 1:12 AM, Lars Tandle Kyllingstad <lars at kyllingen.net> wrote:
>
>> I've noticed that Sean has recently added the core.demangle module to
>> druntime. Does this mean we can deprecate std.demangle? I've never
>> used it myself, but I seem to remember people saying on the NG that it
>> is pretty outdated.
>>
>> -Lars
>>
>> _______________________________________________
>> phobos mailing list
>> phobos at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/phobos
I've attached a patch to fix a few issues of core.demangle here:
http://d.puremagic.com/issues/show_bug.cgi?id=4852
This patch also includes a function to decompress symbols on windows.
The small attached program complements c++-filt: filter the text input
and replace mangled symbols with the demangled names. Maybe something
like this can go into a samples/tools folder to be run with rdmd.
Rainer
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: d_filt.d
URL: <http://lists.puremagic.com/pipermail/phobos/attachments/20100925/cda681f0/attachment.ksh>
More information about the phobos
mailing list