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

Yuri yuri at rawbw.com
Tue Jan 28 12:23:23 PST 2014

On 01/28/2014 12:11, Ted Kremenek wrote:
> Clang forking itself remains quite useful for getting test cases for crashers.  If the forked clang crashes the parent clang process tries to generate a preprocessed source to serve as a test case.  We have found this to be invaluable for users to file useful test cases.

This is not the point. The point is why make it always watch for crash 
when it happens very rarely? If the crash occurred, one can always rerun 
with the special option and get the same report.


More information about the cfe-dev mailing list