When libcxxabi is being built standalone, unwind dependency is not available, so do not use it even when LLVM unwinder is being requested.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Why does standalone imply that the llvm unwinder is unavailable? I could have installed the unwinder previously and then use that instead of libgcc_s.
Comment Actions
It does not imply that libunwind.(so|a) is unavailable, but it does imply that CMake target unwind is unavailable because we're building libcxxabi as a standalone project. LIBCXXABI_TEST_DEPS is passed to check-libcxxabi as DEPENDS argument which is translated to add_dependencies invocation which is incorrect. add_lit_testsuite generates the rule for invoking lit, it does not actually generate the build rule, so target_link_libraries in this case would be also incorrect.