-
Notifications
You must be signed in to change notification settings - Fork 824
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
Added some infrastructure to generate EH_Frame in singlepass compiler #2811
Conversation
None | ||
} else { | ||
match target.triple().default_calling_convention() { | ||
Ok(CallingConvention::SystemV) => { |
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.
What about CallingConvention::AppleAarch64
? Maybe just check for OS == Windows instead.
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.
It doesn't work for now on AppleAarch64. The unwind fails, a pointer fail the authentication check (with autlib
opcode).
bors r+ |
Description
Add generation of EH_Frame in singlepass compiler, to allow correct backtrace in case of trap.