Skip to content

Support unwinding on panics #1567

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bjorn3 opened this issue Mar 27, 2025 · 1 comment
Open

Support unwinding on panics #1567

bjorn3 opened this issue Mar 27, 2025 · 1 comment
Labels
A-unwind Area: Unwinding C-enhancement Category: An issue proposing an enhancement or a PR with one. S-blocked Status: marked as blocked ❌ on something else such as an RFC or other implementation work.

Comments

@bjorn3
Copy link
Member

bjorn3 commented Mar 27, 2025

Cranelift doesn't yet support unwinding: bytecodealliance/wasmtime#1677

@bjorn3 bjorn3 added A-unwind Area: Unwinding C-enhancement Category: An issue proposing an enhancement or a PR with one. S-blocked Status: marked as blocked ❌ on something else such as an RFC or other implementation work. labels Mar 27, 2025
@bjorn3 bjorn3 marked this as a duplicate of #1174 Mar 27, 2025
@bjorn3 bjorn3 marked this as a duplicate of #1479 Mar 27, 2025
@bjorn3 bjorn3 marked this as a duplicate of #1527 Mar 27, 2025
@bjorn3 bjorn3 marked this as a duplicate of #1532 Mar 27, 2025
bjorn3 added a commit that referenced this issue Apr 9, 2025
In preparation for future unwinding support.

Part of #1567
bjorn3 added a commit that referenced this issue Apr 9, 2025
Once writing the LSDA, it will need access to the Module to get a
reference to the personality function and to define a data object for
the LSDA.

Part of #1567
@bjorn3
Copy link
Member Author

bjorn3 commented Apr 17, 2025

Status update

Merged

On the Cranelift side:

On the cg_clif side:

Not yet merged

I'm currently working on getting everything into a mergeable state. After that it will take at least a month before support can be merged on the cg_clif side as a Cranelift release with these changes need to be made.

@bjorn3 bjorn3 changed the title Unwinding on panics not supported Support unwinding on panics Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-unwind Area: Unwinding C-enhancement Category: An issue proposing an enhancement or a PR with one. S-blocked Status: marked as blocked ❌ on something else such as an RFC or other implementation work.
Projects
None yet
Development

No branches or pull requests

1 participant