[all-commits] [llvm/llvm-project] 783f5c: Fix alignment of thunks for ARM/ARM64

Tom Stellard via All-commits all-commits at lists.llvm.org
Wed Jun 17 17:36:06 PDT 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 783f5c6c5e2a44d5b66f8277ff5917fdb6b455c6
      https://github.com/llvm/llvm-project/commit/783f5c6c5e2a44d5b66f8277ff5917fdb6b455c6
  Author: Martin Storsjö <martin at martin.st>
  Date:   2020-06-17 (Wed, 17 Jun 2020)

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

  Log Message:
  -----------
  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

(cherry picked from commit 12c9e2f1110a4fc73562214cf5dd0194b31e87cf)


  Commit: f14919564d8586afac9ab6b5cfe2ff99b0be2f3d
      https://github.com/llvm/llvm-project/commit/f14919564d8586afac9ab6b5cfe2ff99b0be2f3d
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2020-06-17 (Wed, 17 Jun 2020)

  Changed paths:
    M clang/CMakeLists.txt
    M llvm/CMakeLists.txt

  Log Message:
  -----------
  Fix integration of pass plugins with llvm dylib

Call llvm_process_pass_plugin from clang when in standalone mode.

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

(cherry picked from commit d21664cce1db8debe2528f36b1fbd2b8af9c9401)


  Commit: 7831c48b06678c2921f725e5e779f8ab00efedf1
      https://github.com/llvm/llvm-project/commit/7831c48b06678c2921f725e5e779f8ab00efedf1
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2020-06-17 (Wed, 17 Jun 2020)

  Changed paths:
    M clang/CMakeLists.txt
    M llvm/cmake/modules/AddLLVM.cmake

  Log Message:
  -----------
  Fix standalone build interaction with compiler extension

As suggested in https://github.com/llvm/llvm-project/issues/120, don't try to
generate the extension file from clang, only do the linking step.

Fixes the regression introduced in D74464 when running cmake inside the clang
directory.

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

(cherry picked from commit 87dac7da68ea1e0adac78c59ef1891dcf9632b67)


  Commit: 4b932da77db7405f075fa2519edef6efd41b047c
      https://github.com/llvm/llvm-project/commit/4b932da77db7405f075fa2519edef6efd41b047c
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2020-06-17 (Wed, 17 Jun 2020)

  Changed paths:
    M clang/CMakeLists.txt
    M llvm/CMakeLists.txt
    M llvm/cmake/modules/AddLLVM.cmake
    M llvm/cmake/modules/CMakeLists.txt

  Log Message:
  -----------
  Fix compiler extension in standalone mode

Use a dedicated cmake file to store the extension configured within LLVM. That
way, a standalone build of clang can load this cmake file and get all the
configured standalone extensions.

This patch is related to https://reviews.llvm.org/D74602

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

(cherry picked from commit 3a0f6e699bb6d96dc62dce6faef20ac26cf103fd)


  Commit: 0c05269e0232d5eebfd835aa1401913b181031a3
      https://github.com/llvm/llvm-project/commit/0c05269e0232d5eebfd835aa1401913b181031a3
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2020-06-17 (Wed, 17 Jun 2020)

  Changed paths:
    M llvm/cmake/modules/AddLLVM.cmake

  Log Message:
  -----------
  [nfc] Cleanup extension header generation

(cherry picked from commit f44a508df629ecc97e0b1345726b12f25927409e)


  Commit: 5f510e51dd4e6de5987a162f232c514a4dc8b0e3
      https://github.com/llvm/llvm-project/commit/5f510e51dd4e6de5987a162f232c514a4dc8b0e3
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2020-06-17 (Wed, 17 Jun 2020)

  Changed paths:
    M clang/lib/CodeGen/CMakeLists.txt
    M llvm/cmake/modules/AddLLVM.cmake
    M llvm/lib/CMakeLists.txt
    A llvm/lib/Extensions/CMakeLists.txt
    A llvm/lib/Extensions/Extensions.cpp
    A llvm/lib/Extensions/LLVMBuild.txt
    M llvm/lib/LLVMBuild.txt
    M llvm/lib/LTO/CMakeLists.txt
    M llvm/lib/LTO/LLVMBuild.txt
    M llvm/tools/bugpoint/CMakeLists.txt
    M llvm/tools/llvm-config/llvm-config.cpp
    M llvm/tools/opt/CMakeLists.txt

  Log Message:
  -----------
  Update compiler extension integration into the build system

The approach here is to create a new (empty) component, `Extensions', where all
statically compiled extensions dynamically register their dependencies. That way
we're more natively compatible with LLVMBuild and llvm-config.

Fixes: https://bugs.llvm.org/show_bug.cgi?id=44870

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

(cherry picked from commit 8f766e382b77eef3102798b49e087d1e4804b984)


  Commit: 2f6b23d4d00ce08e71f1046158efe209aa01fcd1
      https://github.com/llvm/llvm-project/commit/2f6b23d4d00ce08e71f1046158efe209aa01fcd1
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2020-06-17 (Wed, 17 Jun 2020)

  Changed paths:
    M llvm/cmake/modules/AddLLVM.cmake

  Log Message:
  -----------
  Do not declare compiler extension member as const

It keeps them default constructible.

(cherry picked from commit e307eeba0137700e75893089cf0de03383d851ca)


  Commit: 576559ed5d0805120d3729db24b33d00489be5f8
      https://github.com/llvm/llvm-project/commit/576559ed5d0805120d3729db24b33d00489be5f8
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2020-06-17 (Wed, 17 Jun 2020)

  Changed paths:
    M llvm/cmake/modules/AddLLVM.cmake
    M polly/lib/CMakeLists.txt

  Log Message:
  -----------
  Use components instead of libraries in Polly linkage step

As a side effect, this tests (and fix a bug) in the compiler extension handling
of components.

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

(cherry picked from commit e849e7a700907441ee82ace9d0a9555ae7eb9811)


  Commit: 3ca8b23cf5b9afc4ea05ac0533fbb874c5660e1d
      https://github.com/llvm/llvm-project/commit/3ca8b23cf5b9afc4ea05ac0533fbb874c5660e1d
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2020-06-17 (Wed, 17 Jun 2020)

  Changed paths:
    M llvm/cmake/modules/AddLLVM.cmake

  Log Message:
  -----------
  Fix spurious warning in ExtensionDependencies.inc [nfc]

(cherry picked from commit 37309fb02f60557f18971dc575904c0fc56c91ab)


  Commit: 6f71678ecd293c35435f7f3f313bdaf337ed798a
      https://github.com/llvm/llvm-project/commit/6f71678ecd293c35435f7f3f313bdaf337ed798a
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2020-06-17 (Wed, 17 Jun 2020)

  Changed paths:
    M polly/unittests/ScopPassManager/CMakeLists.txt

  Log Message:
  -----------
  Make Polly tests dependencies explicit

Due to libPolly now using the component infrastructure, it no longer carries all
dependencies as it used to do.

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

(cherry picked from commit 8ceee08de135c4c96980bd750bb5e95348126980)


Compare: https://github.com/llvm/llvm-project/compare/f5a9c661a356...6f71678ecd29


More information about the All-commits mailing list