[llvmlinux] Generating linux kernel .bc files

Jan-Simon Moeller jsmoeller at linuxfoundation.org
Thu Nov 26 12:24:39 UTC 2015

Am Mittwoch, 25. November 2015, 20:00:29 schrieb Kai Wang:
> Hi everyone,
> I'm trying to compile the kernel with the automated build framework.
> In order to run some analysis on the kernel, I need to generate the .bc
> files.

There is a flag that produces .bc files alongside the normal .o files.

cd targets/x86_64/ && make BITCODE=1


More information about the LLVMLinux mailing list