[lld] [lld-macho] Implement symbol string deduplication (PR #123874)
Peter Rong via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 23 10:47:10 PST 2025
================
@@ -1476,3 +1476,8 @@ def no_warn_duplicate_libraries : Flag<["-"], "no_warn_duplicate_libraries">,
HelpText<"Do not warn if the input contains duplicate library options.">,
Flags<[HelpHidden]>,
Group<grp_ignored_silently>;
+
+// Add this with the other flags in the rare options group
+def no_deduplicate_symbol_strings : Flag<["-"], "no-deduplicate-symbol-strings">,
+ HelpText<"Do not deduplicate strings in the symbol string table. Might result in larger binaries but slightly faster link times.">,
----------------
DataCorrupted wrote:
Oh NVM, I thought `OPT_deduplicate_strings` needs to be explicitly turned on.
https://github.com/llvm/llvm-project/pull/123874
More information about the llvm-commits
mailing list