[lld] [lld-macho][arm64] Enhance safe ICF with thunk-based deduplication (PR #106573)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 16 11:56:48 PST 2025


alx32 wrote:

Ah now I see - I forgot to put the option in `Options.td`. This is indeed a miss on my part - I will submit a PR to update it. 


> My plan is to port the icf=safe_thunks optimization from Mach-O to ELF format and evaluate the potential binary size improvements. Currently, we use icf=safe with -faddrsig for some of our production ELF builds.

This sounds like a great plan - can I help in any way ? 


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


More information about the llvm-commits mailing list