<div dir="ltr">add -c</div><br><div class="gmail_quote"><div dir="ltr">On Sun, Oct 30, 2016 at 10:05 AM Pavel Senatorov via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Tried to use<br class="gmail_msg">
\T\LLVM\bin\clang -emit-llvm -S -o <a href="http://T0.Cpp.ir" rel="noreferrer" class="gmail_msg" target="_blank">T0.Cpp.ir</a> -v T0.Cpp<br class="gmail_msg">
without success: below clang output:<br class="gmail_msg">
<br class="gmail_msg">
C:\S\LLVM>\T\LLVM\bin\clang -emit-llvm -S -o <a href="http://T0.Cpp.ir" rel="noreferrer" class="gmail_msg" target="_blank">T0.Cpp.ir</a> -v T0.Cpp<br class="gmail_msg">
clang version 3.9.0 (branches/release_39)<br class="gmail_msg">
Target: x86_64-pc-windows-msvc<br class="gmail_msg">
Thread model: posix<br class="gmail_msg">
InstalledDir: C:\T\LLVM\bin<br class="gmail_msg">
clang.exe: warning: T0.Cpp: 'linker' input unused<br class="gmail_msg">
clang.exe: warning: argument unused during compilation: '-emit-llvm'<br class="gmail_msg">
<br class="gmail_msg">
Looks like T0.Cpp was not even read.<br class="gmail_msg">
<br class="gmail_msg">
What to do?<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
cfe-dev mailing list<br class="gmail_msg">
<a href="mailto:cfe-dev@lists.llvm.org" class="gmail_msg" target="_blank">cfe-dev@lists.llvm.org</a><br class="gmail_msg">
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br class="gmail_msg">
</blockquote></div>