[PATCH] D34094: ELF: Teach ICF about relocations referring to merge input sections.
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 11 16:08:45 PDT 2017
pcc created this revision.
Herald added a subscriber: emaste.
Relocations referring to merge sections are considered equal if they
resolve to the same offset in the same output section.
Depends on https://reviews.llvm.org/D34093
https://reviews.llvm.org/D34094
Files:
lld/ELF/ICF.cpp
lld/test/ELF/Inputs/icf-merge-sec.s
lld/test/ELF/Inputs/icf-merge.s
lld/test/ELF/Inputs/icf-merge2.s
lld/test/ELF/Inputs/icf-merge3.s
lld/test/ELF/icf-merge-sec.s
lld/test/ELF/icf-merge.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34094.102142.patch
Type: text/x-patch
Size: 7410 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170611/337a72d0/attachment.bin>
More information about the llvm-commits
mailing list