[PATCH] D56931: lld-link: Store comdat selection in SectionChunk, reject more invalid associated comdats

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 18 13:27:53 PST 2019


thakis created this revision.
thakis added reviewers: pcc, ruiu.

I need the comdat selection for PR40094. To keep the patch for that smaller, I'm adding it here, and as a first application I'm using it to reject associative comdats referring to earlier associative comdats. Depends on D56929 <https://reviews.llvm.org/D56929>; together with that all associative comdats referring to other associative comdats are now rejected.


https://reviews.llvm.org/D56931

Files:
  lld/COFF/Chunks.h
  lld/COFF/InputFiles.cpp
  lld/test/COFF/associative-comdat-order.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56931.182595.patch
Type: text/x-patch
Size: 3955 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190118/1956f04e/attachment.bin>


More information about the llvm-commits mailing list