an example that links LLVM bitcode and C++ with link-time optimization