[cfe-commits] r69987 - in /cfe/trunk: include/clang/Frontend/PCHBitCodes.h include/clang/Lex/HeaderSearch.h lib/Frontend/PCHReader.cpp lib/Frontend/PCHWriter.cpp lib/Lex/HeaderSearch.cpp lib/Lex/PPLexerChange.cpp test/PCH/objc_import.h test/PCH/objc_import.m
steve naroff
snaroff at apple.com
Fri Apr 24 13:47:05 PDT 2009
On Apr 24, 2009, at 4:05 PM, Douglas Gregor wrote:
>
> On Apr 24, 2009, at 1:03 PM, Steve Naroff wrote:
>>
> If there are a lot of these controlling macros, we're going to be
> deserializing a bunch of macro definitions when we bring in the
> header information. Did you look to see how this affects the macro
> statistics on, e.g., Carbon.h PCH (using -print-stats)?
>
I'll check, however the number is likely to be around 550 (see below).
For C headers, almost all headers have an #ifndef guard. For Cocoa.h,
the number will be much lower (since ObjC headers typically depend on
#import).
*** HeaderSearch Stats:
562 files tracked.
3 #import/#pragma once files.
551 included exactly once.
5 max times a file is included.
1474 #include/#include_next/#import.
896 #includes skipped due to the multi-include optimization.
67 framework lookups.
30 subframework lookups.
snaroff
> - Doug
More information about the cfe-commits
mailing list