[lld] [lld/COFF] Fix -start-lib / -end-lib more after reviews.llvm.org/D116434 (PR #124294)

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 24 10:00:52 PST 2025


================
@@ -56,6 +56,8 @@ static void forceLazy(Symbol *s) {
   }
   case Symbol::Kind::LazyObjectKind: {
     InputFile *file = cast<LazyObject>(s)->file;
+    if (!file->lazy)
----------------
nico wrote:

(https://github.com/llvm/llvm-project/commit/c025b96ef9bb364c79f73fc3afb45c851c2efb17 was the mentioned removal in lld/ELF)

https://github.com/llvm/llvm-project/pull/124294


More information about the llvm-commits mailing list