[PATCH] D118577: [ELF] Deduplicate names of local symbols only with -O2

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 31 07:17:08 PST 2022


peter.smith added a comment.

I'm OK with the change. It looks like a good trade off for non-release links. I think it will be worth an entry in the release notes. Something like: "LLD no longer deduplicates local symbol names at the default optimization level of -O1. This results in a larger output ELF file but a faster link time. Use optimization level -O2 to restore the deduplication."


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118577/new/

https://reviews.llvm.org/D118577



More information about the llvm-commits mailing list