[PATCH] D86659: [LLD] [COFF] Check the aux section definition size for IMAGE_COMDAT_SELECT_SAME_SIZE

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 14:22:31 PDT 2020


mstorsjo updated this revision to Diff 288116.
mstorsjo added a comment.

Updated to not change SectionChunk and instead iterate through the leader's object file, looking for the right coff_aux_section_definition, in the few cases where the size is needed.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86659/new/

https://reviews.llvm.org/D86659

Files:
  lld/COFF/InputFiles.cpp
  lld/COFF/InputFiles.h
  lld/test/COFF/Inputs/comdat-binutils.yaml
  lld/test/COFF/Inputs/comdat-llvm.yaml
  lld/test/COFF/comdat-gcc-compatibility2.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86659.288116.patch
Type: text/x-patch
Size: 6318 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200826/7ce03796/attachment.bin>


More information about the llvm-commits mailing list