Skip to content

[🍒][cxx-interop] Break when we find a linkage specification when traversing all decls in IRGen. #67236

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

zoecarver
Copy link
Contributor

Description: Fixes a bug where we'd find the linkage specification decl as the canonical parent decl of multiple functions. This linkage specification decl was the same for multiple functions and we'd cache it. So when we hit the cache, we wouldn't visit the other (sibling) functions, resulting in linker errors.
Scope: C++ interop
Risk: Low, trivial change, only effects C++ interop.
Testing: Unit testing (CI)
Original PR: #67211
Radar: rdar://110439422

@zoecarver zoecarver requested a review from a team as a code owner July 12, 2023 00:11
@zoecarver
Copy link
Contributor Author

@swift-ci please test

@zoecarver zoecarver merged commit 1716369 into swiftlang:release/5.9 Jul 15, 2023
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