[all-commits] [llvm/llvm-project] 12c9e2: [LLD] [COFF] Fix alignment of thunks for ARM/ARM64

Martin Storsjö via All-commits all-commits at lists.llvm.org
Mon Apr 13 13:28:08 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 12c9e2f1110a4fc73562214cf5dd0194b31e87cf
      https://github.com/llvm/llvm-project/commit/12c9e2f1110a4fc73562214cf5dd0194b31e87cf
  Author: Martin Storsjö <martin at martin.st>
  Date:   2020-04-13 (Mon, 13 Apr 2020)

  Changed paths:
    M lld/COFF/Chunks.h
    M lld/COFF/DLL.cpp
    M lld/test/COFF/arm64-import2.test

  Log Message:
  -----------
  [LLD] [COFF] Fix alignment of thunks for ARM/ARM64

The alignment of ARM64 range extension thunks was fixed in
7c816492197a, but ARM range extension thunks, and import
and delay import thunks 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.

Differential Revision: https://reviews.llvm.org/D77796




More information about the All-commits mailing list