<div dir="ltr">On Tue, Aug 27, 2013 at 12:17 PM, Alexey Samsonov <span dir="ltr"><<a href="mailto:samsonov@google.com" target="_blank">samsonov@google.com</a>></span> wrote:<br><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"><br><div class="gmail_extra"><div class="gmail_quote"><div class="im">On Tue, Aug 27, 2013 at 10:37 PM, Hans Wennborg <span dir="ltr"><<a href="mailto:hans@chromium.org" target="_blank">hans@chromium.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Is there any way we can make this work in the MSVC build too?<br>

</blockquote><div><br></div></div><div>Hm... I don't know if we need this for Windows/MSVC - what is the link strategy for -fsanitize=foo</div><div>flag there (do we also link sanitizer runtimes into executables, but not into dll's and therfore have to</div>

<div>export all the necessary symbols?)</div></div></div></div></blockquote><div><br></div><div>The sanitizer runtimes are linked into the main executable and are annotated with dllexport, and there is a separate dll of thunks that uses GetProcAddress to route the call to the main executable.  Timur would know more.</div>
<div><br></div><div>I think we can just put most of this symbol logic behind 'if (UNIX)'.<br></div></div></div></div>