diff options
author | Nick Sarnie <sarnex@users.noreply.github.com> | 2024-09-03 14:50:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-03 07:50:23 -0700 |
commit | fedc7556ad5237cd11e29b8e70d412bdc39a4fa6 (patch) | |
tree | 423bc0c447b267551be4d6fae8ec19aa48d18e2d /llvm/lib/LTO/LTO.cpp | |
parent | 05f5a91d00b02f4369f46d076411c700755ae041 (diff) | |
download | llvm-fedc7556ad5237cd11e29b8e70d412bdc39a4fa6.zip llvm-fedc7556ad5237cd11e29b8e70d412bdc39a4fa6.tar.gz llvm-fedc7556ad5237cd11e29b8e70d412bdc39a4fa6.tar.bz2 |
[ThinLTO] Don't always print ModulesToCompile debugging information (#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 <nick.sarnie@intel.com>
Diffstat (limited to 'llvm/lib/LTO/LTO.cpp')
-rw-r--r-- | llvm/lib/LTO/LTO.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/LTO/LTO.cpp b/llvm/lib/LTO/LTO.cpp index 646c6db..b1aa89a 100644 --- a/llvm/lib/LTO/LTO.cpp +++ b/llvm/lib/LTO/LTO.cpp @@ -1058,8 +1058,8 @@ Error LTO::addThinLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms, for (const std::string &Name : Conf.ThinLTOModulesToCompile) { if (BM.getModuleIdentifier().contains(Name)) { ThinLTO.ModulesToCompile->insert({BM.getModuleIdentifier(), BM}); - llvm::errs() << "[ThinLTO] Selecting " << BM.getModuleIdentifier() - << " to compile\n"; + LLVM_DEBUG(dbgs() << "[ThinLTO] Selecting " << BM.getModuleIdentifier() + << " to compile\n"); } } } |