I am trying to make LLVM
inline a function from a library.
I have LLVM bitcode files (manually generated) that I linked together with llvm-link
, and I also have a library (written in C) compiled into bitcode by clang
and archived with llvm-ar
. I manage to link everything together and to execute but I can't manage to get LLVM
to inline a function from the library. Any clue about how this should be done?