forked from OSchip/llvm-project
COFF: Output messages for /verbose to stdout instead of stderr.
This patch also makes the message less verbose. llvm-svn: 247853
This commit is contained in:
parent
65d4d5c3c6
commit
4bce7bcc88
|
@ -207,13 +207,10 @@ bool SectionChunk::isCOMDAT() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
void SectionChunk::printDiscardedMessage() const {
|
void SectionChunk::printDiscardedMessage() const {
|
||||||
if (this == Ptr) {
|
// Removed by dead-stripping. If it's removed by ICF, ICF already
|
||||||
// Removed by dead-stripping.
|
// printed out the name, so don't repeat that here.
|
||||||
llvm::dbgs() << "Discarded " << Sym->getName() << "\n";
|
if (Sym && this == Ptr)
|
||||||
} else {
|
llvm::outs() << "Discarded " << Sym->getName() << "\n";
|
||||||
// Removed by ICF.
|
|
||||||
llvm::dbgs() << "Replaced " << Sym->getName() << "\n";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
StringRef SectionChunk::getDebugName() {
|
StringRef SectionChunk::getDebugName() {
|
||||||
|
|
Loading…
Reference in New Issue