Skip to content

Add swift crash producer support #1927

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cachemeifyoucan
Copy link
Contributor

When swift compiler crashed with swift caching enabled, create a crash reproducer automatically.

When swift compiler crashed with swift caching enabled, create a crash
reproducer automatically.
@cachemeifyoucan cachemeifyoucan requested a review from artemcm June 11, 2025 21:43
@nkcsgexi
Copy link
Contributor

nkcsgexi commented Jun 11, 2025

Super excited to see this is happening! Why does it have to be guarded behind CAS enablement?

@cachemeifyoucan
Copy link
Contributor Author

Super excited to see this is happening! Why does it have to be guarded behind CAS enablement?

For now, it is. When CAS is enabled, it is easy to capture the full dependency just from the failing swift-frontend command. It is not that trivial from a non-CAS build since all the clang dependencies are hidden. clang is adding a way to create reproducer that requires a full scan, but that needs to orchestrated by driver/build system, not that easy to do from a single crashed swift-frontend command.

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