-
Notifications
You must be signed in to change notification settings - Fork 14.5k
[lld-macho] Implement symbol string deduplication #123874
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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.">, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you want to also note that "no_dedup..." takes higher priority if both flags are present? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 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 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh NVM, I thought |
||
Group<grp_rare>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably makes sense to put this next to
llvm-project/lld/MachO/Config.h
Line 145 in 2a51a0d