<div dir="ltr"><div><div><div>Hi Marcelo,<br><br></div>You are not the first one who asked for it. What you are asking for is the &#39;-emit-llvm&#39; option? If you do, clang will stop building to generate it instead. Is there a way to request clang to generate it and not stopping the build process?<br>
<br></div><div>Another solution could be use a wrapper to call two times clang.<br></div><div><br></div></div>Regards.<br>Tinti<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 4, 2013 at 10:45 AM, Marcelo Sousa <span dir="ltr">&lt;<a href="mailto:marceloabsousa@gmail.com" target="_blank">marceloabsousa@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Tinti,<br>
<br>
Isn&#39;t it possible to change the build environment to emit the llvm ir<br>
while compiling?<br>
<br>
Regards,<br>
Marcelo<br>
<div class="HOEnZb"><div class="h5"><br>
On Mon, Mar 4, 2013 at 1:40 PM, Tinti &lt;<a href="mailto:viniciustinti@gmail.com">viniciustinti@gmail.com</a>&gt; wrote:<br>
&gt; Hi Marcelo,<br>
&gt;<br>
&gt; For the first question I don&#39;t have an answer. But for the second one: we<br>
&gt; use the lasted Kernel version in git source tree. We do have support for x86<br>
&gt; too.<br>
&gt;<br>
&gt; Best regards,<br>
&gt; Tinti<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Mar 4, 2013 at 8:46 AM, Marcelo Sousa &lt;<a href="mailto:marceloabsousa@gmail.com">marceloabsousa@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Dear all,<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m interested in analysing the LLVM IR of latest versions of the Linux<br>
&gt;&gt; Kernel.<br>
&gt;&gt; Can you provide some insight on if this is currently possible and<br>
&gt;&gt; what&#39;s the process for it. I don&#39;t quite understand which version of<br>
&gt;&gt; the linux kernel you currently support. I would be interested in<br>
&gt;&gt; compiling drivers/, arch/x86 and kernel/.<br>
&gt;&gt;<br>
&gt;&gt; Kind regards,<br>
&gt;&gt; Marcelo<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; LLVMLinux mailing list<br>
&gt;&gt; <a href="mailto:LLVMLinux@lists.linuxfoundation.org">LLVMLinux@lists.linuxfoundation.org</a><br>
&gt;&gt; <a href="https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux" target="_blank">https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Simplicity is the ultimate sophistication<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; LLVMLinux mailing list<br>
&gt; <a href="mailto:LLVMLinux@lists.linuxfoundation.org">LLVMLinux@lists.linuxfoundation.org</a><br>
&gt; <a href="https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux" target="_blank">https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux</a><br>
_______________________________________________<br>
LLVMLinux mailing list<br>
<a href="mailto:LLVMLinux@lists.linuxfoundation.org">LLVMLinux@lists.linuxfoundation.org</a><br>
<a href="https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux" target="_blank">https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Simplicity is the ultimate sophistication<br></div>
</div>