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

Luís Marques luis at luismarques.eu
Thu Mar 1 20:23:53 UTC 2018


On Tuesday, 27 February 2018 at 11:23:02 UTC, timotheecour wrote:
> 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

Thanks for working on this. I'll try to look into this in the 
next few days. (If you have further progress on this please 
provide an update here).


More information about the Digitalmars-d mailing list