[lld] [lld-macho] Implement symbol string deduplication (PR #123874)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 22 10:48:00 PST 2025
alx32 wrote:
> Any reason why this needs a dedicated flag and isn't folded with the original `-deduplicate-strings` flag?
@thevinster - I think of program string literals and metadata strings differently. For example you might want to disable string deduplication if using string pointers as unique keys. Also, I think apple's newest ld-prime linker also treats them differently - symbol string deduplication is always enabled.
https://github.com/llvm/llvm-project/pull/123874
More information about the llvm-commits
mailing list