Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit fedc755

Browse files
authored
[ThinLTO] Don't always print ModulesToCompile debugging information (llvm#106769)
Nothing went wrong in this case, we just successfully matched a module by identifier. No need to print to std::error like we would for something that should be user-visible. Signed-off-by: Sarnie, Nick <[email protected]>
1 parent 05f5a91 commit fedc755

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/LTO/LTO.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,8 +1058,8 @@ Error LTO::addThinLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
10581058
for (const std::string &Name : Conf.ThinLTOModulesToCompile) {
10591059
if (BM.getModuleIdentifier().contains(Name)) {
10601060
ThinLTO.ModulesToCompile->insert({BM.getModuleIdentifier(), BM});
1061-
llvm::errs() << "[ThinLTO] Selecting " << BM.getModuleIdentifier()
1062-
<< " to compile\n";
1061+
LLVM_DEBUG(dbgs() << "[ThinLTO] Selecting " << BM.getModuleIdentifier()
1062+
<< " to compile\n");
10631063
}
10641064
}
10651065
}

0 commit comments

Comments
 (0)