I am using llvm-link to link LLVM bitcode files, but in my source code I also want to use a function from a shared library file that I created. Now, how do I go about linking that shared library with llvm-link? If I can't do that, what are the other options to use the function from my shared library.
The shared library I'm talking about was compiled with gcc. The option to recompile it with LLVM is out of question, because I'm using some SSE4.2 intrinsics in it, which my version of LLVM can't generate code for.