-
Notifications
You must be signed in to change notification settings - Fork 109
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
cfi: various cleanups #400
Conversation
And rename `EhHdrTable::lookup_and_parse` for consistency.
Another thing to consider is the use of |
The original motivation for the box was to avoid moving large structs around on the stack, if I recall correctly. Now that we have switched to a reference-based API instead of a move-based API, this seems like a good change to make. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Try to simplify and makes things more consistent. I was looking into this as part of seeing if we could do more for #296, but I didn't come up with anything significant.
The commit I'm most unsure about is eeae767 (Change callbacks to match UnwindSection::cie_from_offset).
There are minor performance improvements: