[PATCH] D130134: [lld-macho] Fold cfstrings with --deduplicate-literals
Keith Smiley via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 19 17:11:21 PDT 2022
keith created this revision.
Herald added projects: lld-macho, All.
Herald added a reviewer: lld-macho.
keith requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Similar to cstrings ld64 always deduplicates cfstrings. This was already
being done when enabling ICF, but for debug builds you may want to flip
this on if you cannot eliminate your instances of this, so this change
makes --deduplicate-literals also apply to cfstrings.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D130134
Files:
lld/MachO/Driver.cpp
lld/MachO/ICF.cpp
lld/MachO/ICF.h
lld/MachO/InputFiles.cpp
lld/test/MachO/cfstring-dedup.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130134.445987.patch
Type: text/x-patch
Size: 4183 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220720/ce774327/attachment.bin>
More information about the llvm-commits
mailing list