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

SILLinker: convert an assert to a compiler error message #78464

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

eeckstein
Copy link
Contributor

Having a wrong linkage can happen if the user "re-defines" an existing function with a wrong linkage, e.g. using @_cdecl.

@eeckstein eeckstein requested review from kubamracek and removed request for xedin, slavapestov, jckarter and hborla January 7, 2025 14:52
@eeckstein
Copy link
Contributor Author

@swift-ci smoke test

Having a wrong linkage can happen if the user "re-defines" an existing function with a wrong linkage, e.g. using `@_cdecl`.
@eeckstein
Copy link
Contributor Author

@swift-ci smoke test

1 similar comment
@eeckstein
Copy link
Contributor Author

@swift-ci smoke test

@eeckstein eeckstein merged commit 6b8c341 into swiftlang:main Jan 9, 2025
3 checks passed
@eeckstein eeckstein deleted the sil-linker-error branch January 9, 2025 06:44
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