<div dir="ltr">Thanks, fixed in r210199.<div><br></div><div>Generally, compiler-rt patches should be posted to llvm-commits, not cfe-commits.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 4, 2014 at 8:12 PM, Stephan Bergmann <span dir="ltr"><<a href="mailto:sbergman@redhat.com" target="_blank">sbergman@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The below change to trunk projects/compiler-rt makes ASAN_OPTIONS=detect_leaks=1:<u></u>color=always colorize the LeakSanitizer output as intended:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Index: lib/lsan/lsan_common.cc<br>
==============================<u></u>==============================<u></u>=======<br>
--- lib/lsan/lsan_common.cc (revision 210183)<br>
+++ lib/lsan/lsan_common.cc (working copy)<br>
@@ -133,7 +133,7 @@<br>
<br>
class Decorator: private __sanitizer::<u></u>AnsiColorDecorator {<br>
public:<br>
- Decorator() : __sanitizer::<u></u>AnsiColorDecorator(<u></u>PrintsToTtyCached()) { }<br>
+ Decorator() : __sanitizer::<u></u>AnsiColorDecorator(<u></u>ColorizeReports()) { }<br>
const char *Error() { return Red(); }<br>
const char *Leak() { return Blue(); }<br>
const char *End() { return Default(); }<br>
</blockquote>
<br>
Stephan<br>
______________________________<u></u>_________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu" target="_blank">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/<u></u>mailman/listinfo/cfe-commits</a><br>
</blockquote></div><br></div>