[lld] [ELF] --why-live: Skip symbol at index 0 and section symbols, handle .eh_frame symbols (PR #177099)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 21 18:51:03 PST 2026


================
@@ -327,8 +327,13 @@ void MarkLive<ELFT, TrackWhyLive>::printWhyLive(Symbol *s) const {
 
     if (std::holds_alternative<Symbol *>(cur))
       printSymbol(std::get<Symbol *>(cur));
-    else
----------------
MaskRay wrote:

Reverted

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


More information about the llvm-commits mailing list