Link static library (.a) with a bitcode


I am trying to build a complete bitcode (which includes static library codes), so I am looking for a way to link .bc and .a together. Is there anyway to do so?

I think you could compile your project using wllvm [1], extract the bitcode using extract-bc and link all with llvm-as.