[llvmlinux] Linux Kernel LLVM IR

Behan Webster behanw at converseincode.com
Tue Mar 5 12:50:42 UTC 2013


On 03/05/13 07:30, Marcelo Sousa wrote:
> Hi,
>
> That doesn't seem right. My intuition is to change the actual Makefile
> in the linux directory. What do you think?
>
Indeed. You need to change arch/arm/bin/make-kernel.sh script and add a 
second call to clang with the -emit-llvm

To build the kernel you still need to generate the .o files so the link 
stages work.

Behan

-- 
Behan Webster
behanw at converseincode.com



More information about the LLVMLinux mailing list