llvm-project/libunwind/test
Sergej Jaskiewicz 57fc8ecdba Reland "Enable `-funwind-tables` flag when building libunwind"
Summary:
Relands https://reviews.llvm.org/D70815.

The original commit set `CMAKE_TRY_COMPILE_TARGET_TYPE` to
`STATIC_LIBRARY` globally in libunwind/CMakeLists.txt, which effectively
disabled the linking step in CMake checks.

This broke some builds (see 938c70b86c).

Here we set CMAKE_TRY_COMPILE_TARGET_TYPE to
STATIC_LIBRARY only when checking for presence of the `-funwind-tables`
flag, and then set it back to the original value so it doesn't affect
other checks.

Reviewers: mstorsjo, jfb

Subscribers: mgorny, christof, libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D71117
2019-12-11 04:27:04 +03:00
..
libunwind Reland "Enable `-funwind-tables` flag when building libunwind" 2019-12-11 04:27:04 +03:00
CMakeLists.txt Reland "Enable `-funwind-tables` flag when building libunwind" 2019-12-11 04:27:04 +03:00
alignment.pass.cpp Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
libunwind_01.pass.cpp [libunwind] Adjust libunwind_01.pass.cpp test for ARM EHABI 2019-10-03 17:01:04 +00:00
libunwind_02.pass.cpp
lit.cfg [PPC64][libunwind] Fix r2 not properly restored 2019-05-16 06:49:13 +00:00
lit.site.cfg.in Reland "Enable `-funwind-tables` flag when building libunwind" 2019-12-11 04:27:04 +03:00
signal_frame.pass.cpp Reland "Enable `-funwind-tables` flag when building libunwind" 2019-12-11 04:27:04 +03:00
unw_getcontext.pass.cpp