diff options
Diffstat (limited to 'lld/MachO/Driver.cpp')
-rw-r--r-- | lld/MachO/Driver.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lld/MachO/Driver.cpp b/lld/MachO/Driver.cpp index 7ce987e..94f441b 100644 --- a/lld/MachO/Driver.cpp +++ b/lld/MachO/Driver.cpp @@ -1986,6 +1986,8 @@ bool link(ArrayRef<const char *> argsArr, llvm::raw_ostream &stdoutOS, config->separateCstringLiteralSections = args.hasFlag(OPT_separate_cstring_literal_sections, OPT_no_separate_cstring_literal_sections, false); + config->tailMergeStrings = + args.hasFlag(OPT_tail_merge_strings, OPT_no_tail_merge_strings, false); auto IncompatWithCGSort = [&](StringRef firstArgStr) { // Throw an error only if --call-graph-profile-sort is explicitly specified |