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

Jérôme Duval via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 29 02:13:34 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))
----------------
korli wrote:

Right, removed the unneeded checks.

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


More information about the cfe-commits mailing list