projects/aports·blob master · refs

27 lines · 1.1 KiB

1diff --git a/3rd/bee.lua/bee/crash/linux/unwind_linux.cpp b/3rd/bee.lua/bee/crash/linux/unwind_linux.cpp
2index 8b3077b..750a0e1 100644
3--- a/3rd/bee.lua/bee/crash/linux/unwind_linux.cpp
4+++ b/3rd/bee.lua/bee/crash/linux/unwind_linux.cpp
5@@ -6,7 +6,7 @@
6 namespace bee::crash {
7 void unwind(ucontext_t *ctx, uint16_t skip, unwind_callback func, void *ud) noexcept {
8 unw_cursor_t cursor;
9-#if defined(__aarch64__)
10+#if defined(__aarch64__) || defined(__arm__)
11 unw_context_t *unw_ctx = (unw_context_t *)ctx;
12 unw_init_local(&cursor, unw_ctx);
13 #else
14diff --git a/3rd/luamake/bee.lua/bee/crash/unwind_linux.cpp b/3rd/luamake/bee.lua/bee/crash/unwind_linux.cpp
15index a7a08cc..5abefec 100644
16--- a/3rd/luamake/bee.lua/bee/crash/unwind_linux.cpp
17+++ b/3rd/luamake/bee.lua/bee/crash/unwind_linux.cpp
18@@ -6,7 +6,7 @@
19 namespace bee::crash {
20 void unwind(ucontext_t *ctx, uint16_t skip, unwind_callback func, void *ud) noexcept {
21 unw_cursor_t cursor;
22-#if defined(__aarch64__)
23+#if defined(__aarch64__) || defined(__arm__)
24 unw_context_t *unw_ctx = (unw_context_t *)ctx;
25 unw_init_local(&cursor, unw_ctx);
26 #else
27