mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
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:
parent
5d2bcb18f6
commit
fd2ab9ff44
@ -131,7 +131,7 @@ bool InternalizePass::runOnModule(Module &M) {
|
||||
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 @@ bool InternalizePass::runOnModule(Module &M) {
|
||||
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 @@ bool InternalizePass::runOnModule(Module &M) {
|
||||
I->setLinkage(GlobalValue::InternalLinkage);
|
||||
Changed = true;
|
||||
++NumAliases;
|
||||
DEBUG(errs() << "Internalized alias " << I->getName() << "\n");
|
||||
DEBUG(dbgs() << "Internalized alias " << I->getName() << "\n");
|
||||
}
|
||||
|
||||
return Changed;
|
||||
|
Loading…
Reference in New Issue
Block a user