elliottt opened PR #7798 from elliottt:trevor/winch-unwind-info
to bytecodealliance:main
:
Reuse cranelift's implementation of unwinding info for windows, allowing for traps to work properly in winch.
<!--
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 updated PR #7798.
github-actions[bot] commented on PR #7798:
Subscribe to Label Action
cc @saulecabrera
<details>
This issue or pull request has been labeled: "cranelift", "cranelift:area:x64", "winch"Thus the following users have been cc'd because of the following labels:
- saulecabrera: winch
To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.
Learn more.
</details>
elliottt updated PR #7798.
elliottt updated PR #7798.
elliottt updated PR #7798.
elliottt updated PR #7798.
elliottt updated PR #7798.
elliottt updated PR #7798.
elliottt updated PR #7798.
elliottt updated PR #7798.
elliottt updated PR #7798.
elliottt updated PR #7798.
elliottt edited PR #7798:
Reuse cranelift's implementation of unwinding info for windows, allowing for traps to work properly in winch.
TODO:
- [ ] Does the stack check need to be in the prologue?
[ ] How do we emit an
UnwindInfo::SaveReg
instruction when we don't haveVReg
registers? (Converting between winch'sReg
andRealReg
)
<!--
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 updated PR #7798.
elliottt edited PR #7798:
Reuse cranelift's implementation of unwinding info for windows, allowing for traps to work properly in winch.
TODO:
- [x] Does the stack check need to be in the prologue?
[ ] How do we emit an
UnwindInfo::SaveReg
instruction when we don't haveVReg
registers? (Converting between winch'sReg
andRealReg
)
<!--
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 edited PR #7798:
Reuse cranelift's implementation of unwinding info for windows, allowing for traps to work properly in winch.
TODO:
- [x] Does the stack check need to be in the prologue? (no)
[ ] How do we emit an
UnwindInfo::SaveReg
instruction when we don't haveVReg
registers? (Converting between winch'sReg
andRealReg
)
<!--
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 updated PR #7798.
elliottt updated PR #7798.
elliottt edited PR #7798:
Reuse cranelift's implementation of unwinding info for windows, allowing for traps to work properly in winch.
TODO:
- [x] Does the stack check need to be in the prologue? (no)
[x] How do we emit an
UnwindInfo::SaveReg
instruction when we don't haveVReg
registers? (Converting between winch'sReg
andRealReg
)
<!--
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 edited PR #7798:
Reuse cranelift's implementation of unwinding info for windows, allowing for traps to work properly in winch.
<!--
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 updated PR #7798.
elliottt updated PR #7798.
elliottt updated PR #7798.
elliottt updated PR #7798.
Last updated: Dec 23 2024 at 12:05 UTC