[Tarantool-patches] [PATCH luajit v2 5/6] OSX/ARM64: Disable unwind info.

Maksim Kokryashkin max.kokryashkin at gmail.com
Thu Oct 6 12:48:48 MSK 2022


From: Mike Pall <mike>

See #698.

(cherry picked from commit 78350a2565e1cf1102bcd25be406f02953d4dd3b)

External unwinding support is already disabled for OSX on ARM64
platform so there is no point in generation of incorrect unwind
info for it. This patch disables that generation for the commit
history match, and it will be re-enabled in the next commit,
which contains the fix for the issue.

Maxim Kokryashkin:
* added the description for the problem

Needed for tarantool/tarantool#6096
Part of tarantool/tarantool#7230
---
 src/vm_arm64.dasc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/vm_arm64.dasc b/src/vm_arm64.dasc
index ad57bca3..ccfa72bd 100644
--- a/src/vm_arm64.dasc
+++ b/src/vm_arm64.dasc
@@ -3990,7 +3990,8 @@ static void emit_asm_debug(BuildCtx *ctx)
 	".LEFDE3:\n\n", (int)ctx->codesz - fcofs);
 #endif
     break;
-#if !LJ_NO_UNWIND
+    /* Disabled until someone finds a fix. See #698. */
+#if !LJ_NO_UNWIND && 0
   case BUILD_machasm: {
 #if LJ_HASFFI
     int fcsize = 0;
-- 
2.32.1 (Apple Git-133)



More information about the Tarantool-patches mailing list