[PATCH] Add a -verify-pch option to clang -cc1

Argyrios Kyrtzidis kyrtzidis at apple.com
Tue Jan 21 14:09:40 PST 2014


On Jan 20, 2014, at 11:12 AM, Ben Langmuir <blangmuir at apple.com> wrote:

> Add a CC1 option ‘-verify-pch’ that will load the given pch file and verify it as if it were being passed in -include-pch
> 
> The rationale for this option was discussed here: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-November/033486.html
> 
> If this patch is okay, then I also intend to change the ASTReader to stat system header input files when using -verify-pch (but keep the current behavior otherwise).

Looks good!
Could you also add a driver option (maybe "--verify-pch") ?

> 
> Ben
> 
> <verify-pch.patch>_______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits





More information about the cfe-commits mailing list