<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 24 January 2014 08:16, 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">  1) We might want to fix the Clang driver to correctly build the expected name of sanitizer runtime libraries on ARM.  See addSanitizerRTLinkFlagsLinux in clang/lib/Driver/Tools.cpp - maybe on ARM we should use something different than ToolChain::getArchName().<br>
</blockquote><div><br></div><div>Or maybe we want to generate specific arch names, so that we deal with soft/hard float and support issues, as Saleem mentioned. I'd say, to simplify things, we could try getArchName() and if it failed, try "arm", which should work with any ARMv4+ architecture (thus, soft-fp).</div>
<div><br></div><div>For now, setting it to "arm" and hoping everything else is setup correctly would allow us to test things. A big FIXME should be added to Clang and RT to make sure we don't forget.</div><div>
<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  2) Your changes to lit.common.cfg shouldn't be necessary after r199979.<br></blockquote><div><br></div><div>Right, I'll check.</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  3) You should also add "arm" to filter_available_targets line in lib/ubsan/CMakeLists.txt to enable building UBSan.<br></blockquote><div></div></div><br></div><div class="gmail_extra">I may have to add to all sanitizer's CMake files. Will do, thanks!</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">--renato</div></div>