-
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
Support GNU extensions to CFI #130
Comments
There's also |
So I looked up
I suppose we could add an |
To clarify, this function is not used internally right? So this only affects binaries that manually adjust IP in their unwind handlers (which I don't remember encountering so far)? |
this function is used by other functions, like _Unwind_SetIP (used by the rust eh_personality function), _Unwind_FindEnclosingFunction, etc... |
Most binaries adjust ther IP in their unwind handler, that's the whole point of how catch works :P |
Weird, now I'm confused why it worked when I just ignored |
🤷♂️ BTW, do you remember which program generates a DW_CFA_GNU_args_size ? I just dwarfdump'd the unwind-rs demo, and it seems to not have any. |
No, sorry. |
Another useful call frame instruction that is a GNU extension is |
http://refspecs.linux-foundation.org/LSB_4.0.0/LSB-Core-generic/LSB-Core-generic/dwarfext.html
I think the first one is an assertion?
The second one is obsolete, but we should probably support it for backwards compatibility.
The text was updated successfully, but these errors were encountered: