Skip to content

Fixes for layout strings enum support #68229

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 3 commits into from
Sep 1, 2023
Merged

Conversation

drexin
Copy link
Contributor

@drexin drexin commented Aug 31, 2023

The fixes are all around enum support. Some tag comparisons and pointer masking were incorrect and led to crashes.

rdar://114575149

drexin added 2 commits August 30, 2023 17:52
The runtime will skip the appropriate number of bytes based on the size of the object
The fixes are all around enum support. Some tag comparisons and pointer masking were incorrect and led to crashes.

rdar://114575149
@drexin
Copy link
Contributor Author

drexin commented Aug 31, 2023

@swift-ci smoke test

In layout string value witnesses runtime functions, if an objc pointer is tagged, there is no ref counting necessary.
@drexin
Copy link
Contributor Author

drexin commented Aug 31, 2023

@swift-ci smoke test

@drexin
Copy link
Contributor Author

drexin commented Aug 31, 2023

@swift-ci snoke test macos

@drexin
Copy link
Contributor Author

drexin commented Aug 31, 2023

@swift-ci smoke test macos

@drexin drexin merged commit 99a36b3 into swiftlang:main Sep 1, 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.

1 participant