[llvmlinux] Linux Kernel LLVM IR

Tinti viniciustinti at gmail.com
Mon Mar 4 14:21:09 UTC 2013


Hi Marcelo,

About specific directory I have no idea. I think you should take a look at
arch/i586/bin/

Regards,
Tinti


On Mon, Mar 4, 2013 at 10:57 AM, Marcelo Sousa <marceloabsousa at gmail.com>wrote:

> Hi Tinti,
>
> Yes that option. I'm not even interested in the actual build output
> but only the byte code files.
> Do you know which files should I modify and also how to target a
> specific directory with the linux kernel?
>
> Regards,
> Marcelo
>
> On Mon, Mar 4, 2013 at 1:55 PM, Tinti <viniciustinti at gmail.com> wrote:
> > Hi Marcelo,
> >
> > You are not the first one who asked for it. What you are asking for is
> the
> > '-emit-llvm' 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?
> >
> > Another solution could be use a wrapper to call two times clang.
> >
> > Regards.
> > Tinti
> >
> >
> > On Mon, Mar 4, 2013 at 10:45 AM, Marcelo Sousa <marceloabsousa at gmail.com
> >
> > wrote:
> >>
> >> Hi Tinti,
> >>
> >> Isn't it possible to change the build environment to emit the llvm ir
> >> while compiling?
> >>
> >> Regards,
> >> Marcelo
> >>
> >> On Mon, Mar 4, 2013 at 1:40 PM, Tinti <viniciustinti at gmail.com> wrote:
> >> > Hi Marcelo,
> >> >
> >> > For the first question I don't have an answer. But for the second one:
> >> > we
> >> > use the lasted Kernel version in git source tree. We do have support
> for
> >> > x86
> >> > too.
> >> >
> >> > Best regards,
> >> > Tinti
> >> >
> >> >
> >> > On Mon, Mar 4, 2013 at 8:46 AM, Marcelo Sousa <
> marceloabsousa at gmail.com>
> >> > wrote:
> >> >>
> >> >> Dear all,
> >> >>
> >> >> I'm interested in analysing the LLVM IR of latest versions of the
> Linux
> >> >> Kernel.
> >> >> Can you provide some insight on if this is currently possible and
> >> >> what's the process for it. I don't quite understand which version of
> >> >> the linux kernel you currently support. I would be interested in
> >> >> compiling drivers/, arch/x86 and kernel/.
> >> >>
> >> >> Kind regards,
> >> >> Marcelo
> >> >> _______________________________________________
> >> >> LLVMLinux mailing list
> >> >> LLVMLinux at lists.linuxfoundation.org
> >> >> https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > Simplicity is the ultimate sophistication
> >> >
> >> > _______________________________________________
> >> > LLVMLinux mailing list
> >> > LLVMLinux at lists.linuxfoundation.org
> >> > https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux
> >> _______________________________________________
> >> LLVMLinux mailing list
> >> LLVMLinux at lists.linuxfoundation.org
> >> https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux
> >
> >
> >
> >
> > --
> > Simplicity is the ultimate sophistication
> >
> > _______________________________________________
> > LLVMLinux mailing list
> > LLVMLinux at lists.linuxfoundation.org
> > https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux
> _______________________________________________
> LLVMLinux mailing list
> LLVMLinux at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux
>



-- 
Simplicity is the ultimate sophistication
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20130304/300d06db/attachment-0001.html>


More information about the LLVMLinux mailing list