Most of the time in a null build is spent checking the svn revision number. This is very wasteful in a regular development environment.
If I understand CLANG_ALWAYS_CHECK_VC_REV correctly, it is also the case that the version is not even always used, so we spend time for nothing. The attached patch moves the entire version check under CLANG_ALWAYS_CHECK_VC_REV. On my machine that makes a null build of bin/clang 11 times faster. Cheers, Rafael
t.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
