-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Fixes [SR-78] swift compiler seg fault #328
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
Conversation
Did you run ./utils/build-script -RT? Can you please rebase & squash so that we do not have a commit in the history that is broken? |
The broken commits are a part of the apple/swift repo not my fork so I can't rebase those (the new pull request just has the patched test case). As for running the tests every time I run it I get this error, I don't know what I'm doing wrong:
|
@manavgabhawala It should be possible to rebase your branch against the current apple/swift master and squash. the two commits (reapplying the change, and fixing the test) into one. I don't know why you're seeing cmark failures. It should be possible to reconfigure and build without the CMark testing by doing: |
9512bad
to
fa0c0a5
Compare
@rudkx I fixed the branches. Also found the same bug for enums and fixed that. |
fa0c0a5
to
827ae94
Compare
@manavgabhawala I noticed that your test case differs from the one from the original bug. I tried your test case with a compiler that does not have your fix, and it compiles without error, whereas the test case from the original bug demonstrates the problem you're fixing. Can you please update the test to include an example where it fails without your fix? Also, since you fixed the enum code as well (which is awesome BTW - good catch), can you include a test case involving enums that fails without your fix but works with it? Thanks! |
827ae94
to
9d7ec87
Compare
@rudkx fixed |
LGTM, thanks! |
Fixes [SR-78] swift compiler seg fault
Check for dtrace and only enable its use if found
…e-for-5.1 Update stress tester xfails to separate 5.1 branch and master
See #293
Fixes broken test case which caused revert.