]> granicus.if.org Git - clang/commit
Bail out the LiveVariables analysis when the CFG is very large, as
authorTed Kremenek <kremenek@apple.com>
Mon, 2 Jul 2012 20:21:52 +0000 (20:21 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 2 Jul 2012 20:21:52 +0000 (20:21 +0000)
commitd4aeb8050a1d0fe47c53a73361c8b0b8ac310f46
tree0d6fb7be435cdf1a20d514344fff5b6a389f63bc
parent371b477836f289f2e9caaab58530f187b51bc86d
Bail out the LiveVariables analysis when the CFG is very large, as
we are encountering some scalability issues with memory usage.   The
appropriate long term fix is to make the analysis more scalable, but
this will at least prevent the analyzer swapping when
analyzing very large functions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159578 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/LiveVariables.cpp
lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp