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

[5.8] IRGen: Don't directly call async functions that have weak/linkonce_odr linkage #65254

Merged

Conversation

aschwaighofer
Copy link
Member

The async function pointer context size and the async function implementiation are logically tied. Using a different async context pointer context size and async function implementation (from different translation units) is problematic.

rdar://106029807

Original PR: #64638

Fixes an issue when linking static libraries/object files from different TU with the same async function pointer name put different context values.

…nce_odr linkage

The async function pointer context size and the async function implementiation are logically tied. Using a different async context pointer context size and async function implementation (from different translation units) is problematic.

rdar://106029807

Original PR: apple#64638

Fixes an issue when linking static libraries/object files from different TU
with the same async function pointer name put different context values.
@aschwaighofer aschwaighofer requested a review from a team as a code owner April 18, 2023 16:46
@aschwaighofer
Copy link
Member Author

@swift-ci test

@aschwaighofer
Copy link
Member Author

@swift-ci test macOS

@finagolfin
Copy link
Contributor

macOS CI for the 5.8 release branch was broken, should be fixed now, apple/swift-package-manager#6458.

@aschwaighofer
Copy link
Member Author

@swift-ci test macOS

@aschwaighofer aschwaighofer merged commit 399457f into apple:release/5.8 Apr 26, 2023
5 checks passed
@AnthonyLatsis AnthonyLatsis added the 🍒 release cherry pick Flag: Release branch cherry picks label May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants