Skip to content

[Test] Reenable most concurrency tests on arm64e. #35724

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

Conversation

nate-chandler
Copy link
Contributor

rdar://72357371

@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@swift-ci
Copy link
Contributor

swift-ci commented Feb 3, 2021

Build failed
Swift Test OS X Platform
Git Sha - 42832bce44d944b6ab3c461b2cfdbe74cb036af7

@nate-chandler nate-chandler force-pushed the concurrency/irgen/rdar72357371 branch from 42832bc to 482abe3 Compare February 3, 2021 04:28
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler
Copy link
Contributor Author

@swift-ci please test windows platform

@swift-ci
Copy link
Contributor

swift-ci commented Feb 3, 2021

Build failed
Swift Test Linux Platform
Git Sha - 42832bce44d944b6ab3c461b2cfdbe74cb036af7

@swift-ci
Copy link
Contributor

swift-ci commented Feb 3, 2021

Build failed
Swift Test OS X Platform
Git Sha - 482abe324eb284fc8369b751c12c3060972e2215

In __swift_async_resume_project_context, the context is stored into the
extended frame.  On arm64e, it is signed first.  Previously, that signed
context was returned fro the function.  That resulted in code like

    pacda  x16, x10
    str    x16, [x9]
    ldr    x9, [x16, #0x48]

where the context is signed (pacda), stored into the extended frame
(str) and then an attempt is made to load from the signed context (ldr).
Here, the unsigned context is returned from the function.
@nate-chandler nate-chandler force-pushed the concurrency/irgen/rdar72357371 branch from 482abe3 to 53d8780 Compare February 3, 2021 16:26
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

Copy link
Contributor

@aschwaighofer aschwaighofer left a comment

Choose a reason for hiding this comment

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

Thank you!

@swift-ci
Copy link
Contributor

swift-ci commented Feb 3, 2021

Build failed
Swift Test OS X Platform
Git Sha - 53d8780

@nate-chandler
Copy link
Contributor Author

@swift-ci please test macos platform

@nate-chandler nate-chandler merged commit 2a05803 into swiftlang:main Feb 3, 2021
@nate-chandler nate-chandler deleted the concurrency/irgen/rdar72357371 branch February 3, 2021 23:55
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