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 {
|
||||
if (this == Ptr) {
|
||||
// Removed by dead-stripping.
|
||||
llvm::dbgs() << "Discarded " << Sym->getName() << "\n";
|
||||
} else {
|
||||
// Removed by ICF.
|
||||
llvm::dbgs() << "Replaced " << Sym->getName() << "\n";
|
||||
}
|
||||
// Removed by dead-stripping. If it's removed by ICF, ICF already
|
||||
// printed out the name, so don't repeat that here.
|
||||
if (Sym && this == Ptr)
|
||||
llvm::outs() << "Discarded " << Sym->getName() << "\n";
|
||||
}
|
||||
|
||||
StringRef SectionChunk::getDebugName() {
|
||||
|
|
Loading…
Reference in New Issue