<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jan 2, 2015 at 1:38 PM, Chandler Carruth <span dir="ltr"><<a href="mailto:chandlerc@google.com" target="_blank">chandlerc@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"><span class=""><br><div class="gmail_quote">On Fri, Jan 2, 2015 at 1:34 PM, Alexey Samsonov <span dir="ltr"><<a href="mailto:vonosmas@gmail.com" target="_blank">vonosmas@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Alright. Do you think we should fix Clang so that "clang -fno-lto foo.S" doesn't print warnings?</blockquote></div><br></span>I mean, the warning is correct... I think it's a bit weird that we can't pass '-fno-lto' to the C and C++ compiles independently of the preprocessed asm compiles... does CMake just have no support for this? Quite unfortunate.</div></div></blockquote><div><br></div><div>Right, we explicitly set LANGUAGE property to "C" for ASM sources for both tsan and builtins runtimes. IIRC there were problems with CMake ASM build system, that led to .S files dropped from the library if we don't do this.</div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Alexey Samsonov<br><a href="mailto:vonosmas@gmail.com" target="_blank">vonosmas@gmail.com</a></div></div>
</div></div>