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

Ted Kremenek kremenek at apple.com
Tue Jan 28 12:34:07 PST 2014


On Jan 28, 2014, at 12:23 PM, Yuri <yuri at rawbw.com> wrote:

> 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.
> 
> Yuri

No user is going to do that.  What do we really gain here by removing this functionality?



More information about the cfe-dev mailing list