Make local pass print out its progress
authorChris Lattner <sabre@nondot.org>
Wed, 2 Jul 2003 04:37:26 +0000 (04:37 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 2 Jul 2003 04:37:26 +0000 (04:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7058 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/DataStructure/Local.cpp

index 27d5ce563aa70300554d3514a145102e97ee832b..485aa30d23212b0d13fc1ba5fccde00e0dabb0e0 100644 (file)
@@ -142,6 +142,9 @@ namespace {
 // graph.
 DSGraph::DSGraph(Function &F, DSGraph *GG) : GlobalsGraph(GG) {
   PrintAuxCalls = false;
+
+  DEBUG(std::cerr << "  [Loc] Calculating graph for: " << F.getName() << "\n");
+
   // Use the graph builder to construct the local version of the graph
   GraphBuilder B(F, *this, Nodes, ReturnNodes[&F], ScalarMap, FunctionCalls);
 #ifndef NDEBUG