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

Jérôme Duval via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 15 07:21:55 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:

I suppose because signal frame unwinding is only tested on x86_64. 
@X547 

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


More information about the cfe-commits mailing list