[PATCH] D103292: [lld-macho] Implement ICF
Greg McGary via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 9 19:33:00 PDT 2021
gkm updated this revision to Diff 351045.
gkm added a comment.
Herald added a subscriber: mgorny.
- move ICF code into new files `ICF.h` and `ICF.cpp`
- In `InputSection`, drop `Defined *defined` in favor of `InputSection *replacement`
- remove expensive ICF debug logging
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/icf-scale.s
lld/test/MachO/icf.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103292.351045.patch
Type: text/x-patch
Size: 34058 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210610/490bd2e7/attachment.bin>
More information about the llvm-commits
mailing list