Sorry for missing this patch.<div><br></div><div>LGTM, please commit with one style nit:</div><div><br></div><div><div>--- lib/CodeGen/BackendUtil.cpp<span class="Apple-tab-span" style="white-space:pre">       </span>(revision 151830)</div>
<div>+++ lib/CodeGen/BackendUtil.cpp<span class="Apple-tab-span" style="white-space:pre">       </span>(working copy)</div><div>@@ -126,6 +126,11 @@</div><div>   PM.add(createAddressSanitizerPass());</div><div> }</div><div> </div>
<div>+static void addThreadSanitizerPass(const PassManagerBuilder &Builder,</div><div>+                                    PassManagerBase &PM) {</div><div>+  PM.add(createThreadSanitizerPass());</div><div>+}</div>
<div>+</div><div><br></div><div>The indent seems off on the PM parameter...</div><br><div class="gmail_quote">On Thu, Mar 1, 2012 at 12:05 PM, Kostya Serebryany <span dir="ltr"><<a href="mailto:kcc@google.com">kcc@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">ping. <div>(fresh patch which applies to r151830 attached). </div><div class="HOEnZb"><div class="h5"><div><br></div><div>
<br><div class="gmail_quote">On Mon, Feb 13, 2012 at 3:24 PM, Kostya Serebryany <span dir="ltr"><<a href="mailto:kcc@google.com" target="_blank">kcc@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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/" target="_blank">http://codereview.appspot.com/5663045/</a></div></div><div><br></div><div>Thanks, </div><div><br></div><div>--kcc </div>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br></blockquote></div><br></div>