[Tarantool-patches] [PATCH luajit 0/6] Fix external unwinding on M1

Maksim Kokryashkin max.kokryashkin at gmail.com
Mon Sep 26 18:54:57 MSK 2022


This patch enables external unwinding on all platforms,
that produce unwind tables by default.

Follow-up patches fix external unwinding behavior on
arm64 MacOS machines.

PR: https://github.com/tarantool/tarantool/pull/7719
Branch: https://github.com/tarantool/luajit/tree/fckxorg/gh-6096-external-unwinding
Original issue: https://github.com/LuaJIT/LuaJIT/issues/698
Tarantool issue: https://github.com/tarantool/tarantool/issues/6096


Maksim Kokryashkin (3):
  Cleanup and enable external unwinding for more platforms.
  OSX: Fix build by hardcoding external frame unwinding.
  OSX/ARM64: Fix external unwinding.

Mike Pall (3):
  OSX/ARM64: Disable external unwinding for now.
  ARM64: Reorder interpreter stack frame and fix unwinding.
  OSX/ARM64: Disable unwind info.

 .github/workflows/macos-x86_64.yml            |  20 +-
 CMakeLists.txt                                |   3 +
 cmake/SetTargetFlags.cmake                    |  26 +-
 doc/extensions.html                           |  22 +-
 src/Makefile.original                         |  12 +-
 src/lj_arch.h                                 |  27 +-
 src/lj_err.c                                  | 321 +++++++++---------
 src/lj_frame.h                                |  12 +-
 src/vm_arm64.dasc                             | 209 ++++++++----
 ...-6096-external-unwinding-on-arm64.test.lua |  13 +
 10 files changed, 389 insertions(+), 276 deletions(-)
 create mode 100644 test/tarantool-tests/gh-6096-external-unwinding-on-arm64.test.lua

--
2.32.1 (Apple Git-133)



More information about the Tarantool-patches mailing list