[llvm-commits] [llvm] r92607 - /llvm/trunk/lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp
David Greene
greened at obbligato.org
Mon Jan 4 17:27:01 PST 2010
Author: greened
Date: Mon Jan 4 19:27:01 2010
New Revision: 92607
URL: http://llvm.org/viewvc/llvm-project?rev=92607&view=rev
Log:
Change errs() to dbgs().
Modified:
llvm/trunk/lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp
Modified: llvm/trunk/lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp?rev=92607&r1=92606&r2=92607&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp (original)
+++ llvm/trunk/lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp Mon Jan 4 19:27:01 2010
@@ -61,7 +61,7 @@
inline static void printEdgeCounter(ProfileInfo::Edge e,
BasicBlock* b,
unsigned i) {
- DEBUG(errs() << "--Edge Counter for " << (e) << " in " \
+ DEBUG(dbgs() << "--Edge Counter for " << (e) << " in " \
<< ((b)?(b)->getNameStr():"0") << " (# " << (i) << ")\n");
}
@@ -120,7 +120,7 @@
unsigned i = 0;
for (Module::iterator F = M.begin(), E = M.end(); F != E; ++F) {
if (F->isDeclaration()) continue;
- DEBUG(errs()<<"Working on "<<F->getNameStr()<<"\n");
+ DEBUG(dbgs()<<"Working on "<<F->getNameStr()<<"\n");
// Calculate a Maximum Spanning Tree with the edge weights determined by
// ProfileEstimator. ProfileEstimator also assign weights to the virtual
More information about the llvm-commits
mailing list