[all-commits] [llvm/llvm-project] b1c9d3: [libcxx] Add a dependency on unwind in cxx_static, ...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue Nov 9 07:46:25 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1c9d3d29a1e3cc6a9ad6f0fd1a3a0fa15800f64
      https://github.com/llvm/llvm-project/commit/b1c9d3d29a1e3cc6a9ad6f0fd1a3a0fa15800f64
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-11-09 (Tue, 09 Nov 2021)

  Changed paths:
    M libcxx/src/CMakeLists.txt

  Log Message:
  -----------
  [libcxx] Add a dependency on unwind in cxx_static, if LIBCXXABI_USE_LLVM_UNWINDER is set

Even if building cxx_static in itself doesn't actually link in the
requested unwinder, add a synthetic dependency so that building
cxx_static makes sure that the unwinder that was requested to be used
also gets built.

This makes sure that tests (when run with just a plain "ninja check-cxx")
actually use the newly built unwinder, as intended.

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




More information about the All-commits mailing list