[PATCH] D103292: [lld-macho] Implement ICF
Greg McGary via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 16 11:27:51 PDT 2021
gkm updated this revision to Diff 352487.
gkm marked 3 inline comments as done.
gkm added a comment.
- revise according to review feedback
- add `-no_deduplicate` option as synonym for `-icf none`
- handle `isa<DylibSymbol>` in `equalsVariable()`
- add test for no fold when dylib symbol references differ
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103292/new/
https://reviews.llvm.org/D103292
Files:
lld/MachO/CMakeLists.txt
lld/MachO/ConcatOutputSection.cpp
lld/MachO/ConcatOutputSection.h
lld/MachO/Config.h
lld/MachO/Driver.cpp
lld/MachO/ICF.cpp
lld/MachO/ICF.h
lld/MachO/InputFiles.cpp
lld/MachO/InputSection.cpp
lld/MachO/InputSection.h
lld/MachO/Options.td
lld/MachO/Symbols.cpp
lld/MachO/SyntheticSections.cpp
lld/MachO/UnwindInfoSection.cpp
lld/MachO/UnwindInfoSection.h
lld/MachO/Writer.cpp
lld/test/MachO/Inputs/MacOSX.sdk/usr/lib/libSystem.tbd
lld/test/MachO/icf-options.s
lld/test/MachO/icf-scale.s
lld/test/MachO/icf.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103292.352487.patch
Type: text/x-patch
Size: 38169 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210616/8ef64f71/attachment.bin>
More information about the llvm-commits
mailing list