Skip to content

[IRGen] Corrected mangling of AsyncFunctionPointers. #35103

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

Previously, the suffix "AD" was used to mangle AsyncFunctionPointers. That was incorrect because it was already used in the mangling scheme. Here, that error is fixed by using 'u' under the thunk or specialization operator 'T' to mangle AsyncFunctionPointers. Additionally, printing and demangling support is added.

rdar://problem/72336407

@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler
Copy link
Contributor Author

@swift-ci please clean test windows platform

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - e205bdee41b558f20ebd6a6798dbd1172b8d38c5

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - e205bdee41b558f20ebd6a6798dbd1172b8d38c5

@nate-chandler nate-chandler force-pushed the concurrency/irgen/rdar72336407 branch from e205bde to c5ef541 Compare December 16, 2020 00:04
Previously, the suffix "AD" was used to mangle AsyncFunctionPointers.
That was incorrect because it was already used in the mangling scheme.
Here, that error is fixed by using 'u' under the thunk or specialization
operator 'T' to mangle AsyncFunctionPointers.  Additionally, printing
and demangling support is added.

rdar://problem/72336407
@nate-chandler nate-chandler force-pushed the concurrency/irgen/rdar72336407 branch from c5ef541 to 73cfca8 Compare December 16, 2020 02:24
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

Copy link
Contributor

@eeckstein eeckstein left a comment

Choose a reason for hiding this comment

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

LGTM!

@nate-chandler nate-chandler merged commit 253099a into swiftlang:main Dec 16, 2020
@compnerd
Copy link
Member

Im very confused. This change seems to have caused a Windows regression: https://ci-external.swift.org/job/oss-swift-windows-x86_64-vs2019/3752/

However, the CI here passed on Windows? Could you please take a look @nate-chandler?

@nate-chandler
Copy link
Contributor Author

@compnerd There was a conflicting change that landed after these tests started running. The issue is fixed here: #35121 . Sorry for the noise!

@compnerd
Copy link
Member

Awesome, thanks @nate-chandler!

@nate-chandler nate-chandler deleted the concurrency/irgen/rdar72336407 branch December 16, 2020 18:34
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