Differential Revision: http://reviews.llvm.org/D5668 llvm-svn: 219398
Add a script that is used to deflake inherently flaky tsan tests. It is invoked from lit tests as: %deflake %run %t The script runs the target program up to 10 times, until it produces a tsan warning. llvm-svn: 209898