Display the function we are analyzing before running LiveVariables.

llvm-svn: 59983
This commit is contained in:
Ted Kremenek 2008-11-24 20:53:32 +00:00
parent e03879b8ad
commit 3ca000af83
1 changed files with 4 additions and 4 deletions

View File

@ -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());