Skip to content

[cherry-pick][DebugInfo] Fix handling of @_originallyDefinedIn types #78271

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
merged 1 commit into from
Dec 19, 2024

Conversation

augusto2112
Copy link
Contributor

Emit an imported declaration for @_originallyDefinedIn under the real module that these types live in.

This patch also changes the mangling for the debugger to respect @_originallyDefinedIn, and fixes a bug where @_originallyDefinedIn that should be ignored was still being used when mangling.

rdar://137146961
(cherry picked from commit f8d20c490868cbb5e6fbb82e9dcc51131ed6b5db)

Emit an imported declaration for @_originallyDefinedIn under the
real module that these types live in.

This patch also changes the mangling for the debugger to respect
@_originallyDefinedIn, and fixes a bug where @_originallyDefinedIn
that should be ignored was still being used when mangling.

rdar://137146961
(cherry picked from commit f8d20c490868cbb5e6fbb82e9dcc51131ed6b5db)
@augusto2112 augusto2112 changed the title [DebugInfo] Fix handling of @_originallyDefinedIn types [cherry-pick][DebugInfo] Fix handling of @_originallyDefinedIn types Dec 18, 2024
@augusto2112
Copy link
Contributor Author

augusto2112 commented Dec 18, 2024

@augusto2112
Copy link
Contributor Author

@augusto2112 augusto2112 marked this pull request as ready for review December 19, 2024 14:31
@augusto2112 augusto2112 requested a review from a team as a code owner December 19, 2024 14:31
@adrian-prantl adrian-prantl merged commit 05786df into swiftlang:release/6.1 Dec 19, 2024
5 checks passed
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