Skip to content

StackProtector: insert check before musttail call. #2710

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

Conversation

varungandhi-apple
Copy link

musttail calls have to directly precede the return instruction (of their
value), so any stack checks must be inserted before the call instead of in
between it and the return.

(cherry picked from commit f25fd4b)

`musttail` calls have to directly precede the return instruction (of their
value), so any stack checks must be inserted before the call instead of in
between it and the return.

(cherry picked from commit f25fd4b)
@varungandhi-apple
Copy link
Author

@swift-ci test

@shahmishal shahmishal merged commit 9c34c22 into swiftlang:swift/main Mar 18, 2021
@varungandhi-apple varungandhi-apple deleted the vg-swift/main-fastrack-stack branch March 18, 2021 21:06
@varungandhi-apple
Copy link
Author

Fixed rdar://75512425

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

Successfully merging this pull request may close these issues.

3 participants