[llvmlinux] Generating linux kernel .bc files

Daniel Sanders Daniel.Sanders at imgtec.com
Thu Nov 26 10:08:14 UTC 2015


Hi,

If you add –save-temps to your CFLAGS you should get the .bc and a few other intermediate files.

From: llvmlinux-bounces at lists.linuxfoundation.org [mailto:llvmlinux-bounces at lists.linuxfoundation.org] On Behalf Of Kai Wang
Sent: 26 November 2015 04:00
To: llvmlinux at lists.linuxfoundation.org
Subject: [llvmlinux] Generating linux kernel .bc files


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.

Is there any suggestion how should I modify the makefile or patches so that all the .bc files can be generated during the compilation?

Thank you.

--
Regards,
Kai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20151126/1b9f0342/attachment.html>


More information about the LLVMLinux mailing list