<div dir="ltr"><div><div><div>Hi Marcelo,<br><br></div>About specific directory I have no idea. I think you should take a look at arch/i586/bin/<br><br></div>Regards,<br></div>Tinti<br></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Mon, Mar 4, 2013 at 10:57 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>
Yes that option. I&#39;m not even interested in the actual build output<br>
but only the byte code files.<br>
Do you know which files should I modify and also how to target a<br>
specific directory with the linux kernel?<br>
<br>
Regards,<br>
Marcelo<br>
<div class="HOEnZb"><div class="h5"><br>
On Mon, Mar 4, 2013 at 1:55 PM, Tinti &lt;<a href="mailto:viniciustinti@gmail.com">viniciustinti@gmail.com</a>&gt; wrote:<br>
&gt; Hi Marcelo,<br>
&gt;<br>
&gt; You are not the first one who asked for it. What you are asking for is the<br>
&gt; &#39;-emit-llvm&#39; option? If you do, clang will stop building to generate it<br>
&gt; instead. Is there a way to request clang to generate it and not stopping the<br>
&gt; build process?<br>
&gt;<br>
&gt; Another solution could be use a wrapper to call two times clang.<br>
&gt;<br>
&gt; Regards.<br>
&gt; Tinti<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Mar 4, 2013 at 10:45 AM, Marcelo Sousa &lt;<a href="mailto:marceloabsousa@gmail.com">marceloabsousa@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi Tinti,<br>
&gt;&gt;<br>
&gt;&gt; Isn&#39;t it possible to change the build environment to emit the llvm ir<br>
&gt;&gt; while compiling?<br>
&gt;&gt;<br>
&gt;&gt; Regards,<br>
&gt;&gt; Marcelo<br>
&gt;&gt;<br>
&gt;&gt; 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;&gt; &gt; Hi Marcelo,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; For the first question I don&#39;t have an answer. But for the second one:<br>
&gt;&gt; &gt; we<br>
&gt;&gt; &gt; use the lasted Kernel version in git source tree. We do have support for<br>
&gt;&gt; &gt; x86<br>
&gt;&gt; &gt; too.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Best regards,<br>
&gt;&gt; &gt; Tinti<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &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;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Dear all,<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I&#39;m interested in analysing the LLVM IR of latest versions of the Linux<br>
&gt;&gt; &gt;&gt; Kernel.<br>
&gt;&gt; &gt;&gt; Can you provide some insight on if this is currently possible and<br>
&gt;&gt; &gt;&gt; what&#39;s the process for it. I don&#39;t quite understand which version of<br>
&gt;&gt; &gt;&gt; the linux kernel you currently support. I would be interested in<br>
&gt;&gt; &gt;&gt; compiling drivers/, arch/x86 and kernel/.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Kind regards,<br>
&gt;&gt; &gt;&gt; Marcelo<br>
&gt;&gt; &gt;&gt; _______________________________________________<br>
&gt;&gt; &gt;&gt; LLVMLinux mailing list<br>
&gt;&gt; &gt;&gt; <a href="mailto:LLVMLinux@lists.linuxfoundation.org">LLVMLinux@lists.linuxfoundation.org</a><br>
&gt;&gt; &gt;&gt; <a href="https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux" target="_blank">https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; --<br>
&gt;&gt; &gt; Simplicity is the ultimate sophistication<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; LLVMLinux mailing list<br>
&gt;&gt; &gt; <a href="mailto:LLVMLinux@lists.linuxfoundation.org">LLVMLinux@lists.linuxfoundation.org</a><br>
&gt;&gt; &gt; <a href="https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux" target="_blank">https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux</a><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>