[PATCH] D46672: COFF: ICF a section and its associated pdata section as a unit.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 9 21:07:09 PDT 2018


pcc created this revision.
pcc added reviewers: hans, rnk, ruiu.

This is needed to avoid merging two functions with identical
instructions but different xdata. It also reduces binary size by
deduplicating identical pdata sections.

Fixes PR35337.


https://reviews.llvm.org/D46672

Files:
  lld/COFF/Chunks.cpp
  lld/COFF/Chunks.h
  lld/COFF/ICF.cpp
  lld/test/COFF/icf-pdata.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46672.146059.patch
Type: text/x-patch
Size: 5063 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180510/e18c45ee/attachment.bin>


More information about the llvm-commits mailing list