Skip to content

[6.0 – stdlib] add failure explanations to debug preconditions #73943

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
May 31, 2024

Conversation

glessard
Copy link
Contributor

Add explanations when the _isPOD() precondition is not met in loadUnaligned() and storeBytes().

Addresses rdar://128543858
Original PR: #73900.
Risk: Low. This will not affect release-mode code, and adds some explanatory output to an existing trap in debug mode.
Reviewer: @Azoy

@glessard glessard added the 🍒 release cherry pick Flag: Release branch cherry picks label May 28, 2024
@glessard glessard requested a review from a team as a code owner May 28, 2024 16:27
@glessard
Copy link
Contributor Author

@swift-ci please smoke test

@glessard
Copy link
Contributor Author

@swift-ci please smoke test windows platform

@glessard glessard enabled auto-merge May 30, 2024 18:14
@glessard
Copy link
Contributor Author

@swift-ci please test macOS platform

@glessard
Copy link
Contributor Author

@swift-ci please test linux platform

@glessard glessard merged commit 194c76c into swiftlang:release/6.0 May 31, 2024
5 checks passed
@glessard glessard deleted the rdar128543858-cherrypick branch June 27, 2024 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants