Please review the following clang patch that adds a flag -fthread-sanitizer. <div>This flag enables ThreadSanitizer instrumentation committed to llvm as r150423.</div><div>The patch includes one test for -fthread-sanitizer and one similar test for -faddress-sanitizer. </div>
<div>This patch does not modify the linker flags (as we do it for -faddress-sanitizer) because the run-time library is not yet</div><div>committed and it's structure in compiler-rt is not 100% clear. </div><div><div><br>
</div><div><a href="http://codereview.appspot.com/5663045/">http://codereview.appspot.com/5663045/</a></div></div><div><br></div><div>Thanks, </div><div><br></div><div>--kcc </div>