Skip to content

Conversation

@aschwaighofer
Copy link
Contributor

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

…r 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
@aschwaighofer
Copy link
Contributor Author

@swift-ci Please Build Toolchain Linux Platform

@aschwaighofer
Copy link
Contributor Author

@swift-ci test

@aschwaighofer
Copy link
Contributor Author

@swift-ci test macOS

@aschwaighofer aschwaighofer merged commit 3f8b9e2 into swiftlang:main Mar 29, 2023
aschwaighofer added a commit to aschwaighofer/swift that referenced this pull request Apr 18, 2023
…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: swiftlang#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 added a commit to aschwaighofer/swift that referenced this pull request Apr 21, 2023
…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: swiftlang#64638
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.

1 participant