[lld] [lld-macho] Implement symbol string deduplication (PR #123874)
Peter Rong via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 23 10:22:42 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:
Do you want to also note that "no_dedup..." takes higher priority if both flags are present?
https://github.com/llvm/llvm-project/pull/123874
More information about the llvm-commits
mailing list