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

Ben Langmuir blangmuir at apple.com
Mon Jan 20 11:12:29 PST 2014


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

Ben

-------------- next part --------------
A non-text attachment was scrubbed...
Name: verify-pch.patch
Type: application/octet-stream
Size: 5591 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140120/e97d4dfb/attachment.obj>


More information about the cfe-commits mailing list