external assemblers and llvm-link for compiling the linux kernel


I can of new at this point but I am trying to learn the basics of working with the llvm system. My question is, is it possible to use an external assembler if you patch a bunch of bitcode object code files together for say compiling the linux kernel if you use a custom make file?



Should be - if you link a bunch of bitcode files together into a big bitcode file - then you can pass that to clang the same as a source file, etc. And you should be able to pass -no-integrated-as ( https://stackoverflow.com/questions/11118887/how-to-switch-off-llvms-integrated-assembler )

Thanks David.