Skip to content

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