[all-commits] [llvm/llvm-project] 8c03fd: [libcxxabi, libunwind] support running tests in sta...

Dominik Montada via All-commits all-commits at lists.llvm.org
Wed Oct 14 00:10:43 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c03fdf34a659925a3f09c8f54016e47ea1c7519
      https://github.com/llvm/llvm-project/commit/8c03fdf34a659925a3f09c8f54016e47ea1c7519
  Author: Dominik Montada <dominik.montada at hightec-rt.com>
  Date:   2020-10-14 (Wed, 14 Oct 2020)

  Changed paths:
    M libcxx/CMakeLists.txt
    M libcxx/cmake/Modules/HandleOutOfTreeLLVM.cmake
    M libcxxabi/CMakeLists.txt
    R libcxxabi/cmake/Modules/HandleOutOfTreeLLVM.cmake
    M libunwind/CMakeLists.txt
    M libunwind/test/CMakeLists.txt

  Log Message:
  -----------
  [libcxxabi,libunwind] support running tests in standalone mode

Remove check for standalone and shared library mode in libcxxabi to
allow including tests in said mode. This check prevented running the
tests in standalone mode with static libraries, which is the case for
baremetal targets.

Fix check-unwind target trying to use a non-existent llvm-lit executable
in standalone mode. Copy the HandleOutOfTreeLLVM logic from libcxxabi to
libunwind in order to make the tests work in standalone mode.

Reviewed By: ldionne, #libc_abi, #libc

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




More information about the All-commits mailing list