diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-26 22:26:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-26 22:26:21 +0000 |
commit | b145b1e9de866e79fb386e4a074dc0b41853acf3 (patch) | |
tree | b1f5fde383319f4f9176f2510693425cb98d7c28 /lib/Driver/Driver.cpp | |
parent | f527ce460311769e16dfc260f021b6b9032910fb (diff) |
make llvm-bcanalyzer dump out PCH files symbolically. We should probably
eventually get an option to turn this off, but it is nice for looking at
statistics. For example, the types block now prints:
Block ID #11 (TYPES_BLOCK_ID):
Num Instances: 1
Total Size: 895100b/111888B/27971.9W
% of file: 1.55801
Num SubBlocks: 0
Num Abbrevs: 0
Num Records: 14899
% Abbrev Recs: 0
Code Histogram:
5478 TYPE_FUNCTION_PROTO
2683 TYPE_TYPEDEF
2460 TYPE_POINTER
2047 TYPE_ENUM
1553 TYPE_RECORD
283 TYPE_CONSTANT_ARRAY
274 TYPE_OBJC_INTERFACE
76 TYPE_INCOMPLETE_ARRAY
10 TYPE_VECTOR
9 TYPE_OBJC_QUALIFIED_ID
5 TYPE_FUNCTION_NO_PROTO
5 TYPE_EXT_QUAL
3 TYPE_TYPEOF_EXPR
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70166 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Driver.cpp')
0 files changed, 0 insertions, 0 deletions