<div dir="ltr">Hi Renato,<div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 30, 2014 at 11:07 PM, Renato Golin <span dir="ltr"><<a href="mailto:renato.golin@linaro.org" target="_blank">renato.golin@linaro.org</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">Hi all,<div><br></div><div>Can anyone explain me what was the rationale behind putting the sanitizer libraries in compiler-rt?</div>
<div><br></div><div>The sanitizers only work properly in x86_64 and I don't see anyone even testing to any other platform, while compiler-rt should be a substitute for libgcc on all platforms, at least that's the goal, and linking the success of the RT library to the success of the sanitizers is a bit of an oversight, IMHO.</div>
<div><br></div><div>I'm spending 99% of the time to make compiler-rt compiler on ARM using CMake by fiddling the sanitizers' tests, lit config files and CMake scripts, which is a bit annoying...<br></div></div></blockquote>
<div><br></div><div>If you're only interested in building compiler-rt library for ARM, and not interested in supporting sanitizers on that platform, you can just avoid building them on ARM. You're right that it takes explicit effort to enable building sanitizers on ARM, but IMO that's not accidental or bad - we *don't* want to build them unless there is an interest in support.</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div><div><br>
</div><div>Long term, would it be possible / desirable to split them into compiler-rt and sanitizer-rt?</div><div><br></div><div>cheers,</div><div>--renato</div></div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Alexey Samsonov, MSK</div>
</div></div>