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

Konstantin Tokarev annulen at yandex.ru
Wed Jan 29 02:26:35 PST 2014

29.01.2014, 10:24, "Yury Gribov" <y.gribov at samsung.com>:
>>  Actually clang doesn't need fork for error reporting at all.
>>  The process can live on without problems even after the crash.
>>  Here is what clang should do:
> Makes sense but what if some important bits (say argv) are trashed by
> stack overflow?

Non-reproducible crash makes no sense. If compiler is invoked by user or
IDE, it's generally easy to re-run, make sure it crashes again, and copy
invocation command line.

If compiler is ivoked by fuzzer with random args, command line is remembered
elsewhere anyway.


More information about the cfe-dev mailing list