Skip to content

[Mangler] Include verification errors in the crash log #80496

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
Apr 7, 2025

Conversation

hamishknight
Copy link
Contributor

Factor out abortWithPrettyStackTraceMessage, and use it for mangler verification errors to ensure they get printed in the pretty stack trace.

Introduce a convenience for aborting while printing a given message
to a frame of the pretty stack trace. Use this in the existing places
where we're currently doing this.
Make sure we include the verification error in the crash log.
@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight hamishknight merged commit 8834f6c into swiftlang:main Apr 7, 2025
5 checks passed
@hamishknight hamishknight deleted the message-in-a-crash-log branch April 7, 2025 16:03
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