[cfe-commits] [PATCH] Added some preprocessor memory usage stats to -cc1 -print-stats
Alexander Kornienko
alexfh at google.com
Fri Aug 10 12:22:42 PDT 2012
A minor patch. Need this to profile memory effect of upcoming changes to
storage of macros. Outputs preprocessor memory usage as follows:
Preprocessor Memory: 4977591B total
BumpPtr: 4288512
Macro Expanded Tokens: 417768
Predefines Buffer: 8135
Macros: 262144
#pragma push_macro Info: 0
Poison Reasons: 1024
Comment Handlers: 8
--
Best regards,
Alexander Kornienko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120810/4da0f856/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: preprocessor-mem-stats.diff
Type: application/octet-stream
Size: 1185 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120810/4da0f856/attachment.obj>
More information about the cfe-commits
mailing list