Author: kremenek
Date: Fri Jan 9 12:20:21 2009
New Revision: 61996
URL: http://llvm.org/viewvc/llvm-project?rev=61996&view=rev
Log:
Always print out SourceManager stats with 'Stats' is true. This revealed that
PTH always pulls in the source pages with -fsyntax-only (investigating further).
Modified:
cfe/trunk/Driver/clang.cpp
Modified: cfe/trunk/Driver/clang.cpp
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/clang.cpp?rev=61996&r1=61995&r2=61996&view=diff
==============================================================================
--- cfe/trunk/Driver/clang.cpp (original)
+++ cfe/trunk/Driver/clang.cpp Fri Jan 9 12:20:21 2009
@@ -1409,8 +1409,7 @@
PP.PrintStats();
PP.getIdentifierTable().PrintStats();
PP.getHeaderSearchInfo().PrintStats();
- if (ClearSourceMgr)
- PP.getSourceManager().PrintStats();
+ PP.getSourceManager().PrintStats();
fprintf(stderr, "\n");
}
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits