commit | 81fb169f42769e02c7425b23885a261c025fd5e6 | [log] [tgz] |
---|---|---|
author | Anna Zaks <ganna@apple.com> | Mon Feb 27 21:33:16 2012 +0000 |
committer | Anna Zaks <ganna@apple.com> | Mon Feb 27 21:33:16 2012 +0000 |
tree | 70a738c1286bc536402a1ce6b4aa3616ddf5cca6 | |
parent | 92b670e1ee0b11d7e558ec659795ddf452e583ed [diff] [blame] |
[analyzer] Add -analyzer-stats, which hooks up LLVM stats tracking. As in http://llvm.org/docs/ProgrammersManual.html#Statistic git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151570 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/clang/Driver/CC1Options.td b/include/clang/Driver/CC1Options.td index b885288..9789a85 100644 --- a/include/clang/Driver/CC1Options.td +++ b/include/clang/Driver/CC1Options.td
@@ -86,6 +86,8 @@ HelpText<"The maximum number of nodes the analyzer can generate (150000 default, 0 = no limit)">; def analyzer_max_loop : Separate<"-analyzer-max-loop">, HelpText<"The maximum number of times the analyzer will go through a loop">; +def analyzer_stats : Flag<"-analyzer-stats">, + HelpText<"Print internal analyzer statistics.">; def analyzer_checker : Separate<"-analyzer-checker">, HelpText<"Choose analyzer checkers to enable">;