summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Frontend
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2012-03-02 19:05:03 +0000
committerAnna Zaks <ganna@apple.com>2012-03-02 19:05:03 +0000
commit265087721ae2938b3886d68898e5eec5bd4a3816 (patch)
tree8c4ff80551678f1d0b9d09d76d43a31d4de2a09b /clang/lib/StaticAnalyzer/Frontend
parent242d9838c6e203f927a38292c9c303a846a284ad (diff)
downloadbcm5719-llvm-265087721ae2938b3886d68898e5eec5bd4a3816.tar.gz
bcm5719-llvm-265087721ae2938b3886d68898e5eec5bd4a3816.zip
[analyzer] Bound the size of the functions being inlined + provide
command line options for inlining tuning. This adds the option for stack depth bound as well as function size bound. + minor doxygenification llvm-svn: 151930
Diffstat (limited to 'clang/lib/StaticAnalyzer/Frontend')
-rw-r--r--clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp b/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
index 074ad23ce46..f8b6832f72b 100644
--- a/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
+++ b/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
@@ -157,7 +157,9 @@ public:
Opts.TrimGraph, Opts.InlineCall,
Opts.UnoptimizedCFG, Opts.CFGAddImplicitDtors,
Opts.CFGAddInitializers,
- Opts.EagerlyTrimEGraph));
+ Opts.EagerlyTrimEGraph,
+ Opts.InlineMaxStackDepth,
+ Opts.InlineMaxFunctionSize));
if (Opts.PrintStats)
llvm::EnableStatistics();
}
OpenPOWER on IntegriCloud