On Mon, Dec 02, 2013 at 02:13:42PM +0400, Yury Gribov wrote: > Currently gcc has tests for AddressSanitizer and UBSanitizer. Do you > think it would make sense to add support for ThreadSanitizer testing > as well? If the answer is positive, we can work on dg infrastructure > (tsan-dg.exp, tsan.exp) and initial set of tests. As for the latter: > should we implement our own tests in gcc or simply copy from > compiler-rt testsuite?
IMHO we should have some tsan tests, most likely a copy of the upstream tests converted to dejagnu. The problem is that at least by default we don't want very expensive tests in the testsuite, whether it is runtime expensive or eats too much memory. Jakub