[llvm-commits] [llvm] r92631 - /llvm/trunk/lib/Transforms/IPO/Internalize.cpp
David Greene
greened at obbligato.org
Mon Jan 4 17:28:08 PST 2010
Author: greened
Date: Mon Jan 4 19:28:07 2010
New Revision: 92631
URL: http://llvm.org/viewvc/llvm-project?rev=92631&view=rev
Log:
Change errs() to dbgs().
Modified:
llvm/trunk/lib/Transforms/IPO/Internalize.cpp
Modified: llvm/trunk/lib/Transforms/IPO/Internalize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/Internalize.cpp?rev=92631&r1=92630&r2=92631&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/Internalize.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/Internalize.cpp Mon Jan 4 19:28:07 2010
@@ -131,7 +131,7 @@
if (ExternalNode) ExternalNode->removeOneAbstractEdgeTo((*CG)[I]);
Changed = true;
++NumFunctions;
- DEBUG(errs() << "Internalizing func " << I->getName() << "\n");
+ DEBUG(dbgs() << "Internalizing func " << I->getName() << "\n");
}
// Never internalize the llvm.used symbol. It is used to implement
@@ -160,7 +160,7 @@
I->setLinkage(GlobalValue::InternalLinkage);
Changed = true;
++NumGlobals;
- DEBUG(errs() << "Internalized gvar " << I->getName() << "\n");
+ DEBUG(dbgs() << "Internalized gvar " << I->getName() << "\n");
}
// Mark all aliases that are not in the api as internal as well.
@@ -171,7 +171,7 @@
I->setLinkage(GlobalValue::InternalLinkage);
Changed = true;
++NumAliases;
- DEBUG(errs() << "Internalized alias " << I->getName() << "\n");
+ DEBUG(dbgs() << "Internalized alias " << I->getName() << "\n");
}
return Changed;
More information about the llvm-commits
mailing list