Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH luajit 0/6] Fix external unwinding on M1
@ 2022-09-26 15:54 Maksim Kokryashkin via Tarantool-patches
  2022-09-26 15:54 ` [Tarantool-patches] [PATCH luajit 1/6] Cleanup and enable external unwinding for more platforms Maksim Kokryashkin via Tarantool-patches
                   ` (6 more replies)
  0 siblings, 7 replies; 23+ messages in thread
From: Maksim Kokryashkin via Tarantool-patches @ 2022-09-26 15:54 UTC (permalink / raw)
  To: tarantool-patches, sergos, skaplun; +Cc: Maksim Kokryashkin

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)


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2022-10-06  9:52 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-26 15:54 [Tarantool-patches] [PATCH luajit 0/6] Fix external unwinding on M1 Maksim Kokryashkin via Tarantool-patches
2022-09-26 15:54 ` [Tarantool-patches] [PATCH luajit 1/6] Cleanup and enable external unwinding for more platforms Maksim Kokryashkin via Tarantool-patches
2022-09-28  8:20   ` sergos via Tarantool-patches
2022-10-03  7:36   ` Sergey Kaplun via Tarantool-patches
2022-09-26 15:54 ` [Tarantool-patches] [PATCH luajit 2/6] OSX: Fix build by hardcoding external frame unwinding Maksim Kokryashkin via Tarantool-patches
2022-10-03 10:54   ` Sergey Kaplun via Tarantool-patches
2022-10-03 15:58   ` sergos via Tarantool-patches
2022-09-26 15:55 ` [Tarantool-patches] [PATCH luajit 3/6] OSX/ARM64: Disable external unwinding for now Maksim Kokryashkin via Tarantool-patches
2022-10-03 11:08   ` Sergey Kaplun via Tarantool-patches
2022-10-04  8:26   ` sergos via Tarantool-patches
2022-09-26 15:55 ` [Tarantool-patches] [PATCH luajit 4/6] ARM64: Reorder interpreter stack frame and fix unwinding Maksim Kokryashkin via Tarantool-patches
2022-10-04 15:48   ` sergos via Tarantool-patches
2022-09-26 15:55 ` [Tarantool-patches] [PATCH luajit 5/6] OSX/ARM64: Disable unwind info Maksim Kokryashkin via Tarantool-patches
2022-10-04 15:52   ` sergos via Tarantool-patches
2022-09-26 15:55 ` [Tarantool-patches] [PATCH luajit 6/6] OSX/ARM64: Fix external unwinding Maksim Kokryashkin via Tarantool-patches
2022-10-04 16:05   ` sergos via Tarantool-patches
2022-10-06  9:48 ` [Tarantool-patches] [PATCH luajit v2 0/6] Fix external unwinding on M1 Maksim Kokryashkin via Tarantool-patches
2022-10-06  9:48   ` [Tarantool-patches] [PATCH luajit v2 1/6] Cleanup and enable external unwinding for more platforms Maksim Kokryashkin via Tarantool-patches
2022-10-06  9:48   ` [Tarantool-patches] [PATCH luajit v2 2/6] OSX: Fix build by hardcoding external frame unwinding Maksim Kokryashkin via Tarantool-patches
2022-10-06  9:48   ` [Tarantool-patches] [PATCH luajit v2 3/6] OSX/ARM64: Disable external unwinding for now Maksim Kokryashkin via Tarantool-patches
2022-10-06  9:48   ` [Tarantool-patches] [PATCH luajit v2 4/6] ARM64: Reorder interpreter stack frame and fix unwinding Maksim Kokryashkin via Tarantool-patches
2022-10-06  9:48   ` [Tarantool-patches] [PATCH luajit v2 5/6] OSX/ARM64: Disable unwind info Maksim Kokryashkin via Tarantool-patches
2022-10-06  9:48   ` [Tarantool-patches] [PATCH luajit v2 6/6] OSX/ARM64: Fix external unwinding Maksim Kokryashkin via Tarantool-patches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox