llvm-project/libunwind/test
Leonard Chan f178a05f22 [libunwind] Fix unwind_leaffunction test
It's possible for this test not to pass if the libc used does not provide
unwind info for raise. We can replace it with __builtin_cast, which can lead
to a SIGTRAP on x86_64 and a SIGILL on aarch64.

Using this alternative, a nop is needed before the __builtin_cast. This is
because libunwind incorrectly decrements pc, which can cause pc to jump into
the previous function and use the incorrect FDE.

Differential Revision: https://reviews.llvm.org/D114818
2021-12-03 11:21:20 -08:00
..
configs [libunwind] Fix testing with sanitizers enabled 2021-11-25 15:28:17 -05:00
libunwind [libc++abi] Change LIBCXXABI_NO_TIMER to LIBCXXABI_USE_TIMER 2021-10-13 08:02:31 -04:00
CMakeLists.txt [runtimes] Remove support for GCC-style 32 bit multilib builds 2021-12-01 12:57:01 -05:00
alignment.compile.pass.cpp
floatregister.pass.cpp [libunwind] Support cfi_undefined and cfi_register for float registers. 2021-09-27 12:04:02 +02:00
forceunwind.pass.cpp [libunwind] Fix testing with sanitizers enabled 2021-11-25 15:28:17 -05:00
frameheadercache_test.pass.cpp [libunwind] Fix testing with sanitizers enabled 2021-11-25 15:28:17 -05:00
libunwind_01.pass.cpp [libunwind] Fix testing with sanitizers enabled 2021-11-25 15:28:17 -05:00
libunwind_02.pass.cpp [libunwind] Fix testing with sanitizers enabled 2021-11-25 15:28:17 -05:00
lit.cfg.py
lit.site.cfg.in [runtimes] Add tests for vendor-specific properties 2021-10-07 15:46:20 -04:00
remember_state_leak.pass.sh.s [runtimes] Remove support for GCC-style 32 bit multilib builds 2021-12-01 12:57:01 -05:00
signal_frame.pass.cpp [libunwind] Fix testing with sanitizers enabled 2021-11-25 15:28:17 -05:00
signal_unwind.pass.cpp [libunwind] Fix testing with sanitizers enabled 2021-11-25 15:28:17 -05:00
unw_getcontext.pass.cpp [libunwind] Fix testing with sanitizers enabled 2021-11-25 15:28:17 -05:00
unwind_leaffunction.pass.cpp [libunwind] Fix unwind_leaffunction test 2021-12-03 11:21:20 -08:00