[PATCH] D88877: [ELF] Drop -whole-archive before processing dependent libraries.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 6 16:44:39 PDT 2020


MaskRay added inline comments.


================
Comment at: lld/ELF/Driver.cpp:1432
+  // Thus, force the flag off before processing dependent libraries.
+  inWholeArchive = false;
 }
----------------
How about moving it to addDependentLibrary? Then you can have much shorter comment.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88877/new/

https://reviews.llvm.org/D88877



More information about the llvm-commits mailing list