[llvmlinux] Whole program LLVM bitcode files
wangkai.cas at gmail.com
Tue Jan 5 23:22:34 UTC 2016
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.
Can I use llvm-link to achieve this?
Or 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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LLVMLinux