<div dir="ltr"><div class="gmail_default" style><br></div><div class="gmail_extra"><div class="gmail_quote">On Mon, Jan 21, 2013 at 3:22 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"><div dir="ltr">Also, I think we should be building the majority of the tests in the default mode. <div>And for lit-tests we should run both modes. </div>
<div><br></div><div>--kcc </div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Jan 21, 2013 at 3:13 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">

<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><div>On Mon, Jan 21, 2013 at 2:51 PM, Alexey Samsonov <span dir="ltr"><<a href="mailto:samsonov@google.com" target="_blank">samsonov@google.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>+  // In zero-based shadow mode we treat addresses near zero as addresses<br>
+  // in shadow gap as well.<br>
+  if (ASAN_FLEXIBLE_MAPPING_AND_OFFSET)<br></div></blockquote></div><div>Is this the right condition?  </div></div></div></div></blockquote></div></div></div></div></blockquote><div><br></div><div style>Ah, indeed. Fixed in r173026 (and switched back to default mode in unit tests).</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>

+    return a <= kShadowGapEnd;<br>
   return a >= kShadowGapBeg && a <= kShadowGapEnd;</div></blockquote></div></div><br><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Alexey Samsonov, MSK</div>
</div></div>