[all-commits] [llvm/llvm-project] d09f84: [compiler-rt] Force ABI to libcxxabi when building...

Michał Górny via All-commits all-commits at lists.llvm.org
Mon Feb 28 21:12:58 PST 2022


  Branch: refs/heads/release/14.x
  Home:   https://github.com/llvm/llvm-project
  Commit: d09f84adff1eb6003eedad1069e22e7d78a54e08
      https://github.com/llvm/llvm-project/commit/d09f84adff1eb6003eedad1069e22e7d78a54e08
  Author: Dimitry Andric <dimitry at andric.com>
  Date:   2022-02-28 (Mon, 28 Feb 2022)

  Changed paths:
    M compiler-rt/cmake/Modules/AddCompilerRT.cmake

  Log Message:
  -----------
  [compiler-rt] Force ABI to libcxxabi when building cxustom libc++

Follow-up to 458ead66dc37, which replaced the bespoke CMakeLists.txt
file for building a custom instrumented libc++ with an invocation of the
runtimes build.

In the the bespoke CMakeLists.txt, the LIBCXX_CXX_ABI setting was forced
to libcxxabi, but this was not done for the CMake invocation for the
runtimes build. This would cause CMake configuration issues on platforms
where the default LIBCXX_CXX_ABI setting is not libcxxabi, such as
FreeBSD.

Add `-DLIBCXX_CXX_ABI=libcxxabi` to that invocation, to make sure the
custom instrumented libc++ always uses the expected ABI.

Reviewed By: phosek

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

(cherry picked from commit a9f1a9c00af3badc991028b313fcc701599c8ac2)


  Commit: b3e9abd9683b11e81b7711fd654157b6b81b0509
      https://github.com/llvm/llvm-project/commit/b3e9abd9683b11e81b7711fd654157b6b81b0509
  Author: George Koehler <kernigh at gmail.com>
  Date:   2022-02-28 (Mon, 28 Feb 2022)

  Changed paths:
    M libunwind/src/UnwindRegistersSave.S

  Log Message:
  -----------
  [libunwind] Further fix for 32-bit PowerPC processors without AltiVec

https://reviews.llvm.org/D91906 did most of the work necessary to fix libunwind on
32-bit PowerPC processors without AltiVec, but there was one more piece necessary.

Reviewed By: luporl

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

(cherry picked from commit 3fa2e66c10aadac1d209afadba34d90c9bd95221)


  Commit: 3d913ec923083be7f8baeb3128849949e97b1f43
      https://github.com/llvm/llvm-project/commit/3d913ec923083be7f8baeb3128849949e97b1f43
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2022-02-28 (Mon, 28 Feb 2022)

  Changed paths:
    M llvm/cmake/config-ix.cmake

  Log Message:
  -----------
  [llvm] [cmake] Fix finding modern ounit2

Apparently modern versions of ounit2 can only be found as "ounit2"
rather than "oUnit" version 2.  Update the CMake check to support both
variants.  This makes the OCaml tests run again with ounit2-2.2.4.

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

(cherry picked from commit 919dba9248f63d50e679ad5741d99ed8a8047227)


Compare: https://github.com/llvm/llvm-project/compare/e08bab88c900...3d913ec92308


More information about the All-commits mailing list