Skip to content

[pull] swift/main from apple:swift/main #1132

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

Merged
merged 5 commits into from
Feb 10, 2021

Conversation

pull[bot]
Copy link

@pull pull bot commented Feb 10, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

TNorthover and others added 5 commits February 10, 2021 11:23
1. We were allocating arg stack space twice for tail calls, once manually and
once in the CallSeq instructions.

2. We sometimes moved sp right to its entry point and then subtracted it again
to "reallocate" argument stack space. During that interval arguments are
vulnerable to clobbering by a  kernel interruption.

3. We weren't reserving space at incoming SP for the largest potential tail
call this function makes, so we clobbered callee-saved registers (and anything
else in the way) with arguments.
Cherry-picking latest swifttailcc changes
@pull pull bot merged commit 6691601 into swiftwasm:swift/main Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant