Skip to content

Conversation

@augusto2112
Copy link

@augusto2112 augusto2112 commented May 18, 2023

Types defined wit @_originallyDefinedIn have a different mangled name
emitted in the debug information and in the reflection metadata. Add a
map of known common types that use this feature so we can find
reflection metadata for them.

rdar://106506535

@augusto2112 augusto2112 requested a review from adrian-prantl May 18, 2023 19:59
@augusto2112
Copy link
Author

@swift-ci test

Types defined wit @_originallyDefinedIn have a different mangled name
emitted in the debug information and in the reflection metadata. Add a
map of known common types that use this feature so we can find
reflection metadata for them.

rdar://106506535
@augusto2112 augusto2112 force-pushed the originally-def-cgfloat branch from 06985de to 010321d Compare May 19, 2023 19:10
@augusto2112
Copy link
Author

@swift-ci test

@augusto2112
Copy link
Author

@swift-ci test Windows

@augusto2112
Copy link
Author

@swift-ci test windows

if (mangled_name == "$sSo7CGPointVD")
return true;

if (mangled_name == "$sSo6CGSizeVD")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does CGSize have the same problem?

@adrian-prantl adrian-prantl merged commit 9a8dda9 into swiftlang:swift/release/5.9 May 19, 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