Skip to content

Conversation

nate-chandler
Copy link
Contributor

An empty struct without a deinit gets a single bit which is used to track the struct's liveness. Previously, an empty struct with a deinit also only got a single bit. Consequently, when discarding the struct (i.e. dropping the deinit), there was no bit left to represent the struct. This resulted in a failure to track liveness for the value.

rdar://126863003

An empty struct without a deinit gets a single bit which is used to
track the struct's liveness.  Previously, an empty struct with a deinit
also only got a single bit.  Consequently, when discarding the struct
(i.e. dropping the deinit), there was no bit left to represent the
struct.  This resulted in a failure to track liveness for the value.

rdar://126863003
@nate-chandler nate-chandler requested a review from kavon as a code owner April 22, 2024 15:43
@nate-chandler nate-chandler requested a review from jckarter April 22, 2024 15:43
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

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