mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-25 03:12:08 +01:00
28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
diff --git a/3rd/bee.lua/bee/crash/linux/unwind_linux.cpp b/3rd/bee.lua/bee/crash/linux/unwind_linux.cpp
|
|
index 8b3077b..750a0e1 100644
|
|
--- a/3rd/bee.lua/bee/crash/linux/unwind_linux.cpp
|
|
+++ b/3rd/bee.lua/bee/crash/linux/unwind_linux.cpp
|
|
@@ -6,7 +6,7 @@
|
|
namespace bee::crash {
|
|
void unwind(ucontext_t *ctx, uint16_t skip, unwind_callback func, void *ud) noexcept {
|
|
unw_cursor_t cursor;
|
|
-#if defined(__aarch64__)
|
|
+#if defined(__aarch64__) || defined(__arm__)
|
|
unw_context_t *unw_ctx = (unw_context_t *)ctx;
|
|
unw_init_local(&cursor, unw_ctx);
|
|
#else
|
|
diff --git a/3rd/luamake/bee.lua/bee/crash/unwind_linux.cpp b/3rd/luamake/bee.lua/bee/crash/unwind_linux.cpp
|
|
index a7a08cc..5abefec 100644
|
|
--- a/3rd/luamake/bee.lua/bee/crash/unwind_linux.cpp
|
|
+++ b/3rd/luamake/bee.lua/bee/crash/unwind_linux.cpp
|
|
@@ -6,7 +6,7 @@
|
|
namespace bee::crash {
|
|
void unwind(ucontext_t *ctx, uint16_t skip, unwind_callback func, void *ud) noexcept {
|
|
unw_cursor_t cursor;
|
|
-#if defined(__aarch64__)
|
|
+#if defined(__aarch64__) || defined(__arm__)
|
|
unw_context_t *unw_ctx = (unw_context_t *)ctx;
|
|
unw_init_local(&cursor, unw_ctx);
|
|
#else
|
|
|