Skip to content

[IRGen] Collect metadata for empty fields. #72210

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 2 commits into from
Mar 9, 2024

Conversation

nate-chandler
Copy link
Contributor

Previously, when the metadata collector only collected for layout, it was wasteful to visit the empty fields of records. Now that the field may require a deinit call, it's necessary to visit it.

rdar://123577998

In debug builds, provide some context when a witness table fails to be
found.
@nate-chandler nate-chandler marked this pull request as ready for review March 9, 2024 05:07
@nate-chandler nate-chandler enabled auto-merge March 9, 2024 05:07
Previously, when the metadata collector only collected for layout, it
was wasteful to visit the empty fields of records.  Now that the field
may require a deinit call, it's necessary to visit it.

rdar://123577998
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler nate-chandler changed the title [IRGen] Collect metadata for empty types fields. [IRGen] Collect metadata for empty types' fields. Mar 9, 2024
@nate-chandler nate-chandler changed the title [IRGen] Collect metadata for empty types' fields. [IRGen] Collect metadata for empty fields. Mar 9, 2024
@nate-chandler nate-chandler merged commit ba6cd77 into swiftlang:main Mar 9, 2024
@nate-chandler nate-chandler deleted the rdar123577998 branch March 9, 2024 13:21
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