Skip to content
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

Stack probes are not ordinary functions. #1671

Merged
merged 2 commits into from
Oct 2, 2020
Merged

Conversation

nlewycky
Copy link
Contributor

@nlewycky nlewycky commented Oct 2, 2020

Description

Do not wrap PROBESTACK in a regular function. Stack probes are not ordinary functions because they are called in the middle of function prologue, and as a result can not follow the ordinary ABI rules.

Fixes #1598.

Review

  • Add a short description of the the change to the CHANGELOG.md file

@nlewycky
Copy link
Contributor Author

nlewycky commented Oct 2, 2020

bors r+

@bors
Copy link
Contributor

bors bot commented Oct 2, 2020

@bors bors bot merged commit 2dfc2fb into master Oct 2, 2020
@bors bors bot deleted the feature/probestack-abi branch October 2, 2020 23:07
@nlewycky nlewycky linked an issue Oct 3, 2020 that may be closed by this pull request
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.

Stack overflow since version 1.0.0-alpha3 Possible regression in master: RuntimeError: call stack exhausted
2 participants