From: Maksim Kokryashkin via Tarantool-patches <tarantool-patches@dev.tarantool.org> To: tarantool-patches@dev.tarantool.org, sergeyb@tarantool.org, skaplun@tarantool.org, m.kokryashkin@tarantool.org Cc: Maksim Kokryashkin <max.kokryashkin@gmail.com> Subject: [Tarantool-patches] [PATCH luajit v3 0/2] Fix snapshot PC when linking to BC_JLOOP that was a BC_RET*. Date: Wed, 4 Oct 2023 15:50:22 +0300 [thread overview] Message-ID: <20231004125024.64049-1-max.kokryashkin@gmail.com> (raw) 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)
next reply other threads:[~2023-10-04 12:50 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-10-04 12:50 Maksim Kokryashkin via Tarantool-patches [this message] 2023-10-04 12:50 Maksim Kokryashkin via Tarantool-patches 2024-01-10 8:52 ` Igor Munkin via Tarantool-patches
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20231004125024.64049-1-max.kokryashkin@gmail.com \ --to=tarantool-patches@dev.tarantool.org \ --cc=m.kokryashkin@tarantool.org \ --cc=max.kokryashkin@gmail.com \ --cc=sergeyb@tarantool.org \ --cc=skaplun@tarantool.org \ --subject='Re: [Tarantool-patches] [PATCH luajit v3 0/2] Fix snapshot PC when linking to BC_JLOOP that was a BC_RET*.' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox