aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-07-02 04:37:26 +0000
committerChris Lattner <sabre@nondot.org>2003-07-02 04:37:26 +0000
commit3051419036b518275afac9b57570429736254bdc (patch)
tree96f8336857ce1b9f4d601362ee08ee108a32055d /lib/Analysis
parent8fd27150987877508f6be1d6823095354e509ed5 (diff)
downloadexternal_llvm-3051419036b518275afac9b57570429736254bdc.zip
external_llvm-3051419036b518275afac9b57570429736254bdc.tar.gz
external_llvm-3051419036b518275afac9b57570429736254bdc.tar.bz2
Make local pass print out its progress
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7058 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r--lib/Analysis/DataStructure/Local.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Analysis/DataStructure/Local.cpp b/lib/Analysis/DataStructure/Local.cpp
index 27d5ce5..485aa30 100644
--- a/lib/Analysis/DataStructure/Local.cpp
+++ b/lib/Analysis/DataStructure/Local.cpp
@@ -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