[PATCH] D34476: [COFF] Allow comdat discarding and GC of non-section chunks

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 21 14:08:11 PDT 2017


rnk created this revision.

Move the "Live" and "Discarded" bools from SectionChunk to Chunk.  This
will allow us to add a new kind of chunk for control flow guard that
participates in comdat resolution and dead stripping. It is very similar
to .sxdata and SEHTableChunk, but object files may have more than one
such section.


https://reviews.llvm.org/D34476

Files:
  lld/COFF/Chunks.cpp
  lld/COFF/Chunks.h
  lld/COFF/MarkLive.cpp
  lld/COFF/SymbolTable.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34476.103461.patch
Type: text/x-patch
Size: 4821 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170621/f32aea96/attachment.bin>


More information about the llvm-commits mailing list