[llvm] [llvm-ar] Introduce -wholearchive linker hint. (PR #195834)

via llvm-commits llvm-commits at lists.llvm.org
Tue May 5 05:05:01 PDT 2026


================
@@ -382,6 +382,11 @@ class LLVM_ABI Archive : public Binary {
     return std::move(ThinBuffers);
   }
 
----------------
zackc6 wrote:

Suggest 
``` static constexpr StringLiteral kWholeArchiveString = "-wholearchive"; ```
and replace all hardcoded string


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


More information about the llvm-commits mailing list