-
Notifications
You must be signed in to change notification settings - Fork 110
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
read/cfi: replace Expression with offset/length #703
Conversation
This avoids the need to store `Reader` in the `UnwindContext`, which simplifies lifetime management.
Maybe adding a type for the offset/length pair will make this easier to convert to. |
I like this solution a lot more than what I proposed! |
I've added the |
This is the branch for gimli-rs/gimli#703 .
It meets my needs perfectly, thanks so much! I have the framehop changes on a branch here: https://github.com/mstange/framehop/commits/gimli-issue-701/
I agree, it was quite a bit more involved than I expected (because I had forgotten a lot about what framehop was doing, and because of how framehop is exposing the UnwindContextStorage / EvaluationStorage to the outside world). |
This is the branch for gimli-rs/gimli#703 .
I'd be interested in a release with this fix. |
I'll do an |
This avoids the need to store
Reader
in theUnwindContext
, which simplifies lifetime management.Closes #701