Skip to content

Fix an assert failure with a funclet in a swifttailcc function. #8219

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 1 commit into from
Feb 17, 2024

Conversation

hjyamauchi
Copy link

The failure happens in the livedebugvalues pass.

swiftcc is already covered by isCallingConvWin64. I believe that the assert is checking that the particular calling convention uses a frame pointer, which swifttailcc does, and being relatively a recent addition, it wasn't covered by this code.

This cherrypicks the main PR #8211

The failure happens in the livedebugvalues pass.

swiftcc is already covered by isCallingConvWin64. I believe that the assert is checking that the particular calling convention uses a frame pointer, which swifttailcc does, and being relatively a recent addition, it wasn't covered by this code.

This cherrypicks the main PR swiftlang#8211
@hjyamauchi
Copy link
Author

@compnerd

@compnerd
Copy link
Member

@swift-ci please test

Copy link
Member

@DougGregor DougGregor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@compnerd compnerd merged commit 7c3b53e into swiftlang:swift/release/5.10 Feb 17, 2024
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.

4 participants