[all-commits] [llvm/llvm-project] 525ffb: [ELF] Support --package-metadata

David Green via All-commits all-commits at lists.llvm.org
Wed Aug 10 01:59:33 PDT 2022

  Branch: refs/heads/release/15.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 525ffb05aa2c070f01a2760370c76a53a62cfd78
  Author: Alex Brachet <abrachet at google.com>
  Date:   2022-08-10 (Wed, 10 Aug 2022)

  Changed paths:
    M lld/ELF/Config.h
    M lld/ELF/Driver.cpp
    M lld/ELF/Options.td
    M lld/ELF/SyntheticSections.cpp
    M lld/ELF/SyntheticSections.h
    M lld/ELF/Writer.cpp
    M lld/docs/ReleaseNotes.rst
    A lld/test/ELF/package-metadata.s
    M llvm/include/llvm/BinaryFormat/ELF.h

  Log Message:
  [ELF] Support --package-metadata

This was recently introduced in GNU linkers and it makes sense for
ld.lld to have the same support. This implementation omits checking if
the input string is valid json to reduce size bloat.

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

(cherry picked from commit dbd04b853b680b0a383e5f58edf3643364f67bdf)

  Commit: 13e4d9eab61ee985bf25cdf53b29bc7db55333a2
  Author: Tom Stellard <tstellar at redhat.com>
  Date:   2022-08-10 (Wed, 10 Aug 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/spirv-toolchain.cl

  Log Message:
  [SPIR-V] Disable opaque pointers in relese 15

As discussed on RFC mapping into SPIR-V requires pointer being preserved in some cases: https://discourse.llvm.org/t/rfc-better-support-for-typed-pointers-in-an-opaque-pointer-world/63339/23?u=anastasiastulova

As the work is still unfinished the best approach is to continue using pointer types.

Note that this change is only planned to be committed in release 15 branch.

This fixing PR56660.

Reviewed By: jcranmer-intel

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

  Commit: 40c0ae95cb571c6e07e9d16fe96002ca622d4c2a
  Author: Diana Picus <diana.picus at linaro.org>
  Date:   2022-08-10 (Wed, 10 Aug 2022)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/CMakeLists.txt

  Log Message:
  [scudo] Try to fix standalone build on armv7

When linking scudo standalone on armv7, it can't find symbols related to
unwinding (e.g. __aeabi_unwind_cpp_pr0). This is because it is passing
--unwindlib=none. This patch hacks around the issue by adding

I don't know anything about scudo, so I'm not sure what the original
intention was.

See also https://github.com/llvm/llvm-project/issues/56900

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

(cherry picked from commit 8342ea6eac85bd20c56be0ab71b4ebbccd134c67)

  Commit: b914b21ad19180da3c34ab39918fffcb51590cb7
  Author: David Green <david.green at arm.com>
  Date:   2022-08-10 (Wed, 10 Aug 2022)

  Changed paths:
    M llvm/test/CodeGen/ARM/vector-store.ll

  Log Message:
  [ARM] Regenerate vector_store.ll tests. NFC

(cherry picked from commit f8d976171f2a1b7bf9268929f77904973edb0378)

  Commit: bcd9043ccc96512ff97bb140a1ddc5b8e82902c3
  Author: David Green <david.green at arm.com>
  Date:   2022-08-10 (Wed, 10 Aug 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/ARM/vector-store.ll

  Log Message:
  [DAG] Ensure Legal BUILD_VECTOR elements types in shuffle->And combine

D129150 added a combine from shuffles to And that creates a BUILD_VECTOR
of constant elements. We need to ensure that the elements are of a legal
type, to prevent asserts during lowering.

Fixes #56970.

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

(cherry picked from commit 061e0189a3dab6b1831a80d489ff1b15ad93aafb)

Compare: https://github.com/llvm/llvm-project/compare/bab8af8ea062...bcd9043ccc96

More information about the All-commits mailing list