Change errs() to dbgs().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92631 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Greene 2010-01-05 01:28:07 +00:00
parent 5d2bcb18f6
commit fd2ab9ff44

View File

@ -131,7 +131,7 @@ bool InternalizePass::runOnModule(Module &M) {
if (ExternalNode) ExternalNode->removeOneAbstractEdgeTo((*CG)[I]); if (ExternalNode) ExternalNode->removeOneAbstractEdgeTo((*CG)[I]);
Changed = true; Changed = true;
++NumFunctions; ++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 // Never internalize the llvm.used symbol. It is used to implement
@ -160,7 +160,7 @@ bool InternalizePass::runOnModule(Module &M) {
I->setLinkage(GlobalValue::InternalLinkage); I->setLinkage(GlobalValue::InternalLinkage);
Changed = true; Changed = true;
++NumGlobals; ++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. // Mark all aliases that are not in the api as internal as well.
@ -171,7 +171,7 @@ bool InternalizePass::runOnModule(Module &M) {
I->setLinkage(GlobalValue::InternalLinkage); I->setLinkage(GlobalValue::InternalLinkage);
Changed = true; Changed = true;
++NumAliases; ++NumAliases;
DEBUG(errs() << "Internalized alias " << I->getName() << "\n"); DEBUG(dbgs() << "Internalized alias " << I->getName() << "\n");
} }
return Changed; return Changed;