<div dir="ltr"><br clear="all"><div><div style="font-size:12.8px">Hi all,</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I'm trying to generate whole program bitcode files for linux kernel and do <span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">interprocedural analysis on kernel.</span></div><div style="font-size:12.8px"><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px"><br></span></div><div style="font-size:12.8px"><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">I use llvmlinux to compile kernel with clang and generate a bunch of bitcode files successfully.</span></div><div style="font-size:12.8px"><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">I need to link all these bitcode files together into a single bitcode file, so that I can run whole program analysis. </span></div><div style="font-size:12.8px"><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px"><br></span></div><div style="font-size:12.8px"><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">Should I use l</span><span style="font-size:13px;font-family:Arial,Helvetica,sans-serif">ibLTO</span><span style="font-size:12.8px"> to link all these bitcode files together? I guess I have to modify the linux kernel's build scripts and Makefiles?</span></div><div style="font-size:12.8px">I'm kind of confused. Any suggestions?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thank you</div><div style="font-size:12.8px"><div dir="ltr"><br></div><div dir="ltr">Regards,<div>Kai</div></div></div></div><br>
</div>