[PATCH] D83479: [COFF] Error on unexpected .pdata size

Hans Wennborg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 9 05:58:24 PDT 2020


hans created this revision.
hans added reviewers: thakis, MaskRay.

Previously, lld would crash if the .pdata size is not an even multiple of the expected .pdata entry size. This makes it error instead.

(We hit this in Chromium due to an assembler problem: https://crbug.com/1101577)


https://reviews.llvm.org/D83479

Files:
  lld/COFF/Writer.cpp
  lld/test/COFF/pdata-arm64-bad.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83479.276719.patch
Type: text/x-patch
Size: 4587 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200709/acb511be/attachment.bin>


More information about the llvm-commits mailing list