[lld] [lld-macho] Implement symbol string deduplication (PR #123874)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 23 10:26:34 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.">,
----------------
alx32 wrote:
Which flags are you referring to ? This is enabled by default with only a flag to disable it - there is no flag to enable. Similar to `-no_deduplicate`.
https://github.com/llvm/llvm-project/pull/123874
More information about the llvm-commits
mailing list