[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:50:57 PST 2026


================

----------------
MaskRay wrote:

Done. I was on the fence whether we should add the reason to scanEhFrameSection. Then I realized that we have just one .eh_frame section per file, yeah, the overhead is quite small. It's good to make EhInputSection similar to other sections where we do track the reason.

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


More information about the llvm-commits mailing list