[llvm] [Analysis] Visit orphan Functions in CGPassManager catch-up loop (PR #194219)

Janek van Oirschot via llvm-commits llvm-commits at lists.llvm.org
Fri May 8 05:01:39 PDT 2026


JanekvO wrote:

> As far as I understand, lld --gc-sections will just strip this all out since it's dead code.

AFAIK, that's predicated on the functions having their own section (i.e., -ffunction-section) which I'm not sure every target uses as default.

Also, while looking for more people to add as reviewers I found this: https://github.com/llvm/llvm-project/commit/7ee46ed992690294cfe984366370cb4787fcf0f3 Which seems to have been reverted at some point, perhaps of interest

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


More information about the llvm-commits mailing list