Skip to content
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

pulley: Remove unwind metadata from Cranelift backend #9862

Merged

Conversation

alexcrichton
Copy link
Member

This is a copy/paste from the riscv64 backend originally but there's no need to integrate with native unwinders on Pulley so there's no need to track this information. This removes the Unwind pseudo-inst entirely.

This is a copy/paste from the riscv64 backend originally but there's no
need to integrate with native unwinders on Pulley so there's no need to
track this information. This removes the `Unwind` pseudo-inst entirely.
@alexcrichton alexcrichton requested a review from a team as a code owner December 18, 2024 23:54
@alexcrichton alexcrichton requested review from cfallin and removed request for a team December 18, 2024 23:54
Copy link
Member

@cfallin cfallin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@@ -4,7 +4,7 @@ use super::{inst::*, PulleyFlags, PulleyTargetKind};
use crate::isa::pulley_shared::{PointerWidth, PulleyBackend};
use crate::{
ir::{self, types::*, MemFlags, Signature},
isa::{self, unwind::UnwindInst},
isa::{self},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

strange artifact not caught by rustfmt maybe? would prefer isa::self to isa::{self}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh oops I totally didn't notice this at all!

@alexcrichton alexcrichton added this pull request to the merge queue Dec 19, 2024
Merged via the queue into bytecodealliance:main with commit 7a05ab0 Dec 19, 2024
40 checks passed
@alexcrichton alexcrichton deleted the remove-pulley-unwind-info branch December 19, 2024 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants