[cfe-dev] Why clang needs to fork into itself?

Yury Gribov y.gribov at samsung.com
Tue Jan 28 23:00:02 PST 2014

On 01/29/2014 10:28 AM, Yuri wrote:
> All information needed for crash reporting
> should be copied into the fixed memory area,
>and it should be made read-only for the duration of run.

Ok, this could work. But are you sure that it'll always be possible to 
run exec/CreateProcess from a crashed process?

> Crash handling procedure would proceed safely, as long as it ... doesn't make any stateful calls (like fwrite).

But how would we write a report without these?


More information about the cfe-dev mailing list