[llvm-dev] whole linux kernel bitcode

Kai Wang via llvm-dev llvm-dev at lists.llvm.org
Wed Jan 6 07:41:34 PST 2016


Hi all,

I'm trying to generate whole program bitcode files for linux kernel
and do interprocedural
analysis on kernel.

I use llvmlinux to compile kernel with clang and  generate a bunch of
bitcode files successfully.
I need to link all these bitcode files together into a single bitcode file,
so that I can run whole program analysis.

Should I use libLTO to link all these bitcode files together? I guess I
have to modify the linux kernel's build scripts and Makefiles?
I'm kind of confused. Any suggestions?

Thank you

Regards,
Kai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160106/4fd57503/attachment.html>


More information about the llvm-dev mailing list