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
[SR-6365] Add SwiftPM support for building and testing with the address sanitizer #4920
Comments
@aciidb0mb3r, think this is starter-bug level? Or would you rather just fix it? |
Thread and address sanitizers were landed in #1543 |
@aciidb0mb3r awesome! Is the usage documented somewhere? I don't see any usage instructions in the PR. |
@jpsim You can enable it using `$ swift test --sanitize address` and `$ swift test --sanitize thread`. This is listed in the help `swift test -h`. The address and thread options are supposed to be printed when you run `swift test --sanitize -h` but looks like we broke the argument parser for certain cases 🙁. |
Alright, thanks! Hopefully Swift 4.2 includes this. |
Yep, its in the 4.2 branch! |
Additional Detail from JIRA
md5: af138460a3950f18ba1a47c3f68336ea
Issue Description:
Once the #1390 Pull Request is merged, we will have an option to build and test SwiftPM projects with Thread Sanitization, but the option could be extend to support the address sanitizer.
The text was updated successfully, but these errors were encountered: