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
diff --git a/Driver/AnalysisConsumer.cpp b/Driver/AnalysisConsumer.cpp
index 5d9f896..df46322 100644
--- a/Driver/AnalysisConsumer.cpp
+++ b/Driver/AnalysisConsumer.cpp
@@ -362,13 +362,13 @@
   
   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());