[libcxx-commits] [PATCH] D86540: [libcxxabi, libunwind] support running tests in standalone mode

Dominik Montada via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Aug 25 07:14:56 PDT 2020


gargaroff created this revision.
gargaroff added reviewers: ldionne, phosek, EricWF, compnerd, hintonda, mstorsjo.
Herald added subscribers: libcxx-commits, abidh, dexonsmith, mgorny.
Herald added projects: libc++abi, libunwind.
Herald added a reviewer: libc++abi.
Herald added a reviewer: libunwind.
gargaroff requested review of this revision.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86540

Files:
  libcxxabi/CMakeLists.txt
  libunwind/CMakeLists.txt
  libunwind/cmake/Modules/HandleOutOfTreeLLVM.cmake
  libunwind/test/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86540.287659.patch
Type: text/x-patch
Size: 11835 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200825/94a8d1b8/attachment-0001.bin>


More information about the libcxx-commits mailing list