Stream: git-wasmtime

Topic: wasmtime / PR #12664 Debugging: set vmctx slot before top...


view this post on Zulip Wasmtime GitHub notifications bot (Feb 25 2026 at 08:16):

cfallin requested alexcrichton for a review on PR #12664.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 25 2026 at 08:16):

cfallin opened PR #12664 from cfallin:debugging-early-epoch-yield-vmctx to bytecodealliance:main:

Epoch yields emit debug events, and the debug event handler can walk the stack and look at the instance associated with each frame, which requires vmctx. We weren't setting the vmctx slot until after the epoch check in the function preamble, exposing a null or uninitialized slot to the accessor. This PR fixes that by hoisting the initialization to the very top of the preamble.

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Feb 25 2026 at 08:16):

cfallin requested wasmtime-compiler-reviewers for a review on PR #12664.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 25 2026 at 08:16):

cfallin requested wasmtime-core-reviewers for a review on PR #12664.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 25 2026 at 15:01):

alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 25 2026 at 15:01):

alexcrichton added PR #12664 Debugging: set vmctx slot before top-of-function epoch yield point. to the merge queue

view this post on Zulip Wasmtime GitHub notifications bot (Feb 25 2026 at 15:23):

github-merge-queue[bot] removed PR #12664 Debugging: set vmctx slot before top-of-function epoch yield point. from the merge queue

view this post on Zulip Wasmtime GitHub notifications bot (Feb 25 2026 at 15:52):

cfallin added PR #12664 Debugging: set vmctx slot before top-of-function epoch yield point. to the merge queue

view this post on Zulip Wasmtime GitHub notifications bot (Feb 25 2026 at 16:30):

cfallin merged PR #12664.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 25 2026 at 16:30):

cfallin removed PR #12664 Debugging: set vmctx slot before top-of-function epoch yield point. from the merge queue


Last updated: Mar 23 2026 at 16:19 UTC