I have a patch to let lldb demangle D symbols ; help welcome to improve it

timotheecour timothee.cour2 at gmail.com
Tue Feb 27 11:23:02 UTC 2018


On Tuesday, 27 February 2018 at 05:28:41 UTC, Timothee Cour wrote:
> https://github.com/llvm-mirror/lldb/pull/3
> +
> https://github.com/timotheecour/dtools/blob/master/dtools/lldbdplugin.d
>
>
> on OSX, it works great except when encountering large symbols 
> which
> cause segfault when GC does a collection (triggered inside
> core.demangle.demangle);
> Help is welcome to improve that (or more generally to improve D
> support in lldb, which I started in
> https://github.com/llvm-mirror/lldb/pull/3)
> NOTE: lldb doesn't accept github PR's but easier to work with 
> PR's for
> whoever wants to help on tha in the meantime

Specifically, the issue I'm facing is: 
https://github.com/timotheecour/dtools/issues/2 (a crash occurs 
when _d_arraysetlengthiT is called)

any help would be greatly appreciated




More information about the Digitalmars-d mailing list