NotNull pointers

Robert Clipsham robert at octarineparrot.com
Wed Aug 31 13:40:02 PDT 2011


On 31/08/2011 21:19, Steven Schveighoffer wrote:
>> It's also possible for the program to have its own seg fault handler
>> that reads its own symbolic debug info and generates a line number and
>> stack trace. There was a patch to Phobos that did this a while back.
>
> This would also be a valid option. I have no idea why that wasn't
> included. Do you?

It's not easy to catch SIGSEGV on linux, there's a library that'll do it 
but it's GPL (iirc), an equivalent would need writing from scratch if it 
were to be included in druntime/phobos.

-- 
Robert
http://octarineparrot.com/


More information about the Digitalmars-d mailing list