[PATCH] tsan: automatically deflake flaky tests

Dmitry Vyukov dvyukov at google.com
Wed May 28 08:26:11 PDT 2014


The tests test that ThreadSanitizer finds the data race in particular conditions. However, ThreadSanitizer core algorithm can miss a data race when the racy memory access attempts happen very close to each other (literally simultaneously). This was done intentionally, fixing this would impose significant slowdown and this is not a problem for programs other than unit tests.
So the unit tests suffer from this aspect.

http://reviews.llvm.org/D3913






More information about the llvm-commits mailing list