korli wrote:
> Yes, tested on `x86_64` and only `x86_64` (though support for other archs can
> be added by as easy as defining a few offsets and registers). Requires Haiku
> `hrev58811` to fully work with `tests/signal_unwind.pass.cpp`.
>
> This is also the same implementation used in my debug
korli wrote:
Tested on x86_64?
https://github.com/llvm/llvm-project/pull/135367
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2749,6 +2755,63 @@ int UnwindCursor::stepThroughSigReturn(Registers_arm64 &) {
_isSignalFrame = true;
return UNW_STEP_SUCCESS;
}
+#elif defined(_LIBUNWIND_TARGET_HAIKU) && defined(_LIBUNWIND_TARGET_X86_64)
korli wrote:
Done.
https://github.com/llvm/ll
https://github.com/korli updated
https://github.com/llvm/llvm-project/pull/115462
From c88a3b1f8c8db4b222c0fdc306088a00bee54938 Mon Sep 17 00:00:00 2001
From: Trung Nguyen
Date: Thu, 7 Jul 2022 22:19:34 +0700
Subject: [PATCH 1/3] [libunwind][Haiku] Improve support
* Signal frame unwinding on x
@@ -2917,7 +2980,8 @@ template int UnwindCursor::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) ||
https://github.com/korli updated
https://github.com/llvm/llvm-project/pull/115462
From c88a3b1f8c8db4b222c0fdc306088a00bee54938 Mon Sep 17 00:00:00 2001
From: Trung Nguyen
Date: Thu, 7 Jul 2022 22:19:34 +0700
Subject: [PATCH 1/2] [libunwind][Haiku] Improve support
* Signal frame unwinding on x
@@ -2917,7 +2980,8 @@ template int UnwindCursor::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) ||
https://github.com/korli updated
https://github.com/llvm/llvm-project/pull/115462
From c88a3b1f8c8db4b222c0fdc306088a00bee54938 Mon Sep 17 00:00:00 2001
From: Trung Nguyen
Date: Thu, 7 Jul 2022 22:19:34 +0700
Subject: [PATCH] [libunwind][Haiku] Improve support
* Signal frame unwinding on x86_6
https://github.com/korli created
https://github.com/llvm/llvm-project/pull/115462
* Signal frame unwinding on x86_64 from X512
* Header search for commpage_defs.h on non-standard paths
Unwind supported tests pass on Haiku x86_64
From faa99ee1a06a8139995bba31e6d783df164fb45d Mon Sep 17 00:00:00
korli added a comment.
Ping?
Repository:
rL LLVM
http://reviews.llvm.org/D16797
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
korli updated this revision to Diff 53464.
korli added a comment.
Updated patch against trunk (following changes in lib/Basic/Targets.cpp).
Repository:
rL LLVM
http://reviews.llvm.org/D16797
Files:
lib/Basic/Targets.cpp
lib/Driver/Driver.cpp
lib/Driver/ToolChains.cpp
lib/Driver/ToolC
korli removed rL LLVM as the repository for this revision.
korli updated this revision to Diff 52953.
korli added a comment.
Thanks for the review, and sorry for the late reply.
This updated diff takes rsmith's comments into account, adding a test
test/Driver/haiku.c, a case for CST_Libcxx where
korli added a comment.
Yes, I don't have commit access.
Repository:
rL LLVM
http://reviews.llvm.org/D16797
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
korli updated this revision to Diff 51571.
korli added a comment.
This updated diff fixes the x86-32 Haiku target, which needs the target define
__INTEL__.
This applies directly to today's trunk.
Repository:
rL LLVM
http://reviews.llvm.org/D16797
Files:
lib/Basic/Targets.cpp
lib/Driver/
korli added a comment.
Ping?
Repository:
rL LLVM
http://reviews.llvm.org/D16797
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
korli created this revision.
korli added a reviewer: rsmith.
korli added a subscriber: cfe-commits.
korli set the repository for this revision to rL LLVM.
Herald added a subscriber: aemerson.
[ Copied from [[ https://llvm.org/bugs/show_bug.cgi?id=26404 |
https://llvm.org/bugs/show_bug.cgi?id=2640
16 matches
Mail list logo