-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Add build options for running tests under thread sanitizer #1930
Comments
assigning to @brson since he seems to do Most Things Testsuite. |
I presume that we're going to require the user to have installed tsan themselves, and therefore this just needs to be a configuration flag like tsan home page: https://code.google.com/p/data-race-test/wiki/ThreadSanitizer |
This has yet to be implemented. |
Low, no milestone |
A recent article claims that they're on v2 at this point and that it does not have much overhead at all. Additionally, it sounds like the meaty stuff is implemented in LLVM, we likely just need to have some instrumentation here and there. The part that interests me the most is:
That would be amazing to detect, especially for the runtime! |
Is this still something we wish to do? |
What's the status of this? I'd like to use it for testing the |
It's currently possible to specify
|
Related to #39699. |
Triage: #39699 is a duplicate and has more up-to-date info. RIP one of rustc's last four digit issues. <3 |
We can now run tests under helgrind. For bonus fun we should be able to run under thread sanitizer (a google-backed valgrind plugin) which does similar-but-different things.
The text was updated successfully, but these errors were encountered: