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
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
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
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