[Tarantool-patches] [PATCH luajit v3 0/2] Fix snapshot PC when linking to BC_JLOOP that was a BC_RET*.
Maksim Kokryashkin
max.kokryashkin at gmail.com
Wed Oct 4 15:50:32 MSK 2023
Changes in v3:
- Fixed comments as per review by Sergey
- The patch was split into two, so the test case becomes easier to
implement since it can now depend on this assertion instead
of memory layout.
Branch: https://github.com/tarantool/luajit/tree/fckxorg/lj-624-jloop-snapshot-pc
PR: https://github.com/tarantool/tarantool/pull/9166
Issue: https://github.com/luajit/luajit/issues/624
Mike Pall (2):
snap: check J->pc is within its proto bytecode
Fix snapshot PC when linking to BC_JLOOP that was a BC_RET*.
src/lj_record.c | 9 +-
src/lj_snap.c | 3 +
.../lj-624-jloop-snapshot-pc.test.lua | 84 +++++++++++++++++++
3 files changed, 92 insertions(+), 4 deletions(-)
create mode 100644 test/tarantool-tests/lj-624-jloop-snapshot-pc.test.lua
--
2.39.3 (Apple Git-145)
More information about the Tarantool-patches
mailing list