[libunwind] [libunwind][Haiku] Improve support (PR #115462)

via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 15 21:54:19 PST 2024


================
@@ -2917,7 +2980,8 @@ template <typename A, typename R> int UnwindCursor<A, R>::step(bool stage2) {
 
   // Use unwinding info to modify register set as if function returned.
   int result;
-#if defined(_LIBUNWIND_CHECK_LINUX_SIGRETURN)
+#if defined(_LIBUNWIND_CHECK_LINUX_SIGRETURN) ||                               \
+    (defined(_LIBUNWIND_TARGET_HAIKU) && defined(_LIBUNWIND_TARGET_X86_64))
----------------
X547 wrote:

riscv64 support can be added with a little effort.

https://github.com/llvm/llvm-project/pull/115462


More information about the cfe-commits mailing list