Skip to content

Mangling for suspend/await resume partial functions #36429

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

aschwaighofer
Copy link
Contributor

@aschwaighofer aschwaighofer commented Mar 13, 2021

We use the suffix 'TQ'index and 'TY'index.

@aschwaighofer
Copy link
Contributor Author

@swift-ci Please test

@aschwaighofer
Copy link
Contributor Author

@rjmccall Are those manglings okay?

   global ::= mangled-name 'TQ' index               // Async await continuation partial function
   global ::= mangled-name 'TY' index               // Async suspend continuation partial function

@aschwaighofer aschwaighofer force-pushed the mangling_for_async_resume_functions branch from f396720 to d66b191 Compare March 13, 2021 01:02
@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - f3967205e011f37ddc83375aa840b345c47c2295

@aschwaighofer
Copy link
Contributor Author

@swift-ci please smoke test

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - f3967205e011f37ddc83375aa840b345c47c2295

We use the suffix 'TQ'index and 'TP'index.
@aschwaighofer aschwaighofer force-pushed the mangling_for_async_resume_functions branch from d66b191 to 00f495f Compare March 15, 2021 18:14
@aschwaighofer
Copy link
Contributor Author

@swift-ci Please smoke test

@aschwaighofer aschwaighofer merged commit d608cb5 into swiftlang:main Mar 15, 2021
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.

2 participants