aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-11-24 20:53:32 +0000
committerTed Kremenek <kremenek@apple.com>2008-11-24 20:53:32 +0000
commit8ffc8a571f55ca0e6ac86aa1a827d8a54db9a6ce (patch)
treef8f99df7b67b248b7cb413c382bb9af36816350b
parentd0172439194b28bae62a94a0a25d58e6d21e7a14 (diff)
Display the function we are analyzing before running LiveVariables.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59983 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Driver/AnalysisConsumer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Driver/AnalysisConsumer.cpp b/Driver/AnalysisConsumer.cpp
index 5d9f896173..df46322b5e 100644
--- a/Driver/AnalysisConsumer.cpp
+++ b/Driver/AnalysisConsumer.cpp
@@ -362,13 +362,13 @@ static void ActionGRExprEngine(AnalysisManager& mgr, GRTransferFuncs* tf,
llvm::OwningPtr<GRTransferFuncs> TF(tf);
+ // Display progress.
+ mgr.DisplayFunction();
+
// Construct the analysis engine.
LiveVariables* L = mgr.getLiveVariables();
if (!L) return;
-
- // Display progress.
- mgr.DisplayFunction();
-
+
GRExprEngine Eng(*mgr.getCFG(), *mgr.getCodeDecl(), mgr.getContext(), *L,
mgr.getStoreManagerCreator());