<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"><<a href="mailto:marceloabsousa@gmail.com" target="_blank">marceloabsousa@gmail.com</a>></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'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 <<a href="mailto:viniciustinti@gmail.com">viniciustinti@gmail.com</a>> wrote:<br>
> Hi Marcelo,<br>
><br>
> You are not the first one who asked for it. What you are asking for is the<br>
> '-emit-llvm' option? If you do, clang will stop building to generate it<br>
> instead. Is there a way to request clang to generate it and not stopping the<br>
> build process?<br>
><br>
> Another solution could be use a wrapper to call two times clang.<br>
><br>
> Regards.<br>
> Tinti<br>
><br>
><br>
> On Mon, Mar 4, 2013 at 10:45 AM, Marcelo Sousa <<a href="mailto:marceloabsousa@gmail.com">marceloabsousa@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Hi Tinti,<br>
>><br>
>> Isn't it possible to change the build environment to emit the llvm ir<br>
>> while compiling?<br>
>><br>
>> Regards,<br>
>> Marcelo<br>
>><br>
>> On Mon, Mar 4, 2013 at 1:40 PM, Tinti <<a href="mailto:viniciustinti@gmail.com">viniciustinti@gmail.com</a>> wrote:<br>
>> > Hi Marcelo,<br>
>> ><br>
>> > For the first question I don't have an answer. But for the second one:<br>
>> > we<br>
>> > use the lasted Kernel version in git source tree. We do have support for<br>
>> > x86<br>
>> > too.<br>
>> ><br>
>> > Best regards,<br>
>> > Tinti<br>
>> ><br>
>> ><br>
>> > On Mon, Mar 4, 2013 at 8:46 AM, Marcelo Sousa <<a href="mailto:marceloabsousa@gmail.com">marceloabsousa@gmail.com</a>><br>
>> > wrote:<br>
>> >><br>
>> >> Dear all,<br>
>> >><br>
>> >> I'm interested in analysing the LLVM IR of latest versions of the Linux<br>
>> >> Kernel.<br>
>> >> Can you provide some insight on if this is currently possible and<br>
>> >> what's the process for it. I don't quite understand which version of<br>
>> >> the linux kernel you currently support. I would be interested in<br>
>> >> compiling drivers/, arch/x86 and kernel/.<br>
>> >><br>
>> >> Kind regards,<br>
>> >> Marcelo<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>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > Simplicity is the ultimate sophistication<br>
>> ><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>
>> _______________________________________________<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>
><br>
><br>
><br>
><br>
> --<br>
> Simplicity is the ultimate sophistication<br>
><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>
_______________________________________________<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>