Skip to content

Add basic support for armhf fp-based unwinding #43

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

justinmichaud
Copy link

In general, armhf platforms do not create frame chains using r7/r11. However, when using only thumb or arm mode, and compiling with frame pointers enabled, this does work.

This patch adds very simple support for frame chain unwinding on armhf.

In general, armhf platforms do not create frame chains using r7/r11.
However, when using only thumb or arm mode, and compiling with frame
pointers enabled, this does work.

This patch adds very simple support for frame chain unwinding on armhf.
@justinmichaud
Copy link
Author

This is still a WIP, but I want to get this working for programs compiled with -mframe-chain=aapcs+leaf too. Today, JavaScriptCore uses r7 for the jit code FP, so I will also try to add an option to change that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant