================
@@ -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))
----------------
brad0 wrote:

I think you could remove the _LIBUNWIND_TARGET_X86_64 checks for all but around 
line 2758.

https://github.com/llvm/llvm-project/pull/115462
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to