elliottt edited PR #8401.
elliottt edited PR #8401:
Address clobbers in the clobber area with positive offsets from SP in the prologue and epilogue, by moving the SP updates earlier in the prologue and later in the epilogue. This ensures that we're never writing to offsets below SP, which would be a bug if we were to receive a signal before the SP update in the prologue, or after the SP update in the epilogue.
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
elliottt merged PR #8401.
Last updated: Dec 23 2024 at 12:05 UTC