[lld] [llvm] [LLVM][LTO] Factor out RTLib calls and allow them to be dropped (PR #98512)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 11 11:08:57 PDT 2024
================
@@ -665,6 +666,7 @@ void LTO::addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms,
if (Res.LinkerRedefined || Res.VisibleToRegularObj || Sym.isUsed() ||
(GlobalRes.Partition != GlobalResolution::Unknown &&
GlobalRes.Partition != Partition)) {
+ llvm::errs() << Sym.getName() << "\n";
----------------
arsenm wrote:
Leftover debug printing
https://github.com/llvm/llvm-project/pull/98512
More information about the llvm-commits
mailing list