HomePhabricator

[libcxxabi,libunwind] support running tests in standalone mode

Authored by gargaroff on Aug 24 2020, 2:01 AM.

Description

[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

Details

Committed
gargaroffOct 14 2020, 12:10 AM
Reviewer
Restricted Project
Differential Revision
D86540: [libcxxabi,libunwind] support running tests in standalone mode
Parents
rG2ad82b0ed1b4: [ARM.td] Make instruction definitions visible to sched models
Branches
Unknown
Tags
Unknown