[PATCH] D77796: [LLD] [COFF] Fix alignment of thunks for ARM/ARM64

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 9 06:28:44 PDT 2020


mstorsjo created this revision.
mstorsjo added reviewers: rnk, ruiu, TomTan.
Herald added subscribers: danielkiss, kristof.beyls.
Herald added a project: LLVM.

The alignment of ARM64 range extension thunks was fixed in 7c816492197a <https://reviews.llvm.org/rG7c816492197aefbaa2ea3ba0e391f7c6905956bc>, but ARM range extension thunks, and import and delay import thunks for both also need aligning (like all code on ARM platforms).

I'm adding a test for alignment of ARM64 import thunks - not specifically adding tests for misalignment of all of them though.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D77796

Files:
  lld/COFF/Chunks.h
  lld/COFF/DLL.cpp
  lld/test/COFF/arm64-import2.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77796.256271.patch
Type: text/x-patch
Size: 4544 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200409/4b4c8ffe/attachment.bin>


More information about the llvm-commits mailing list