[webkit-dev] WTFCrash()

2018-03-06 Thread Michael Catanzaro
Hi, After [1], WTFCrash() is used only in debug builds on Darwin. For Darwin release builds, inline assembly is used to trigger a SIGTRAP. I experimented with this today and found it works quite badly on Linux, somehow confusing gdb and clobbering the top frames of the stacktrace, so I think

Re: [webkit-dev] WTFCrash()

2018-03-06 Thread Mark Lam
> On Mar 6, 2018, at 9:09 PM, Michael Catanzaro wrote: > > Hi, > > After [1], WTFCrash() is used only in debug builds on Darwin. For Darwin > release builds, inline assembly is used to trigger a SIGTRAP. I experimented > with this today and found it works quite badly