Closed philipc closed 5 months ago
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 UnwindExpression
type. Can you check if this meets your needs? I tried it in unwinding
and it was a simple change, but framehop
looks more involved.
Can you check if this meets your needs?
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 tried it in
unwinding
and it was a simple change, butframehop
looks more involved.
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).
I'd be interested in a release with this fix.
I'll do an object
release then do a small amount of work on better relocation support here before I do a release.
This avoids the need to store
Reader
in theUnwindContext
, which simplifies lifetime management.Closes #701