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

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 19 10:20:26 PDT 2025


================
@@ -559,6 +559,12 @@ defm wrap : Eq<"wrap", "Redirect symbol references to __wrap_symbol and "
                        "__real_symbol references to symbol">,
             MetaVarName<"<symbol>">;
 
+defm why_live
----------------
smithp35 wrote:

I think this will need adding to docs/ld.lld.1 too.

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


More information about the llvm-commits mailing list