<div dir="ltr">+1</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 7, 2016 at 6:04 PM, Richard Smith <span dir="ltr"><<a href="mailto:richard@metafoo.co.uk" target="_blank">richard@metafoo.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">rsmith added a subscriber: rsmith.<br>
rsmith added a comment.<br>
<br>
My 2c: `-nodefaultlibs` means "don't link against any libraries I didn't explicitly tell you to". `-fsanitize=*` as a driver argument *when linking* is an explicit request to link against the sanitizer runtimes. So that should win. If you don't want to link against the sanitizer runtimes, link without the `-fsanitize=` flag, or append `-fno-sanitize=all` to the link line.<br>
<br>
<br>
<a href="https://reviews.llvm.org/D24048" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>D24048</a><br>
<br>
<br>
<br>
</blockquote></div><br></div>