I see. As I mentioned in offline discussion, you'd probably need smth. like LLVMObject library to dynamically extract the symbols you need from the shared objects, and it would we weird to have Clang CodeGen depend on it. http://reviews.llvm.org/D4547