[lld] [lld][ELF] Add --why-live flag (inspired by Mach-O) (PR #127112)

Daniel Thornburgh via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 21 10:15:14 PDT 2025


================
@@ -751,6 +751,8 @@ Report unresolved symbols as warnings.
 Force load of all members in a static library.
 .It Fl -why-extract Ns = Ns Ar file
 Print to a file about why archive members are extracted.
+.It Fl --why-live Ns = Ns Ar glob
----------------
mysterymath wrote:

Done.

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


More information about the llvm-commits mailing list