dblaikie added a comment. You'd have to add the ExecutionEngine library as a dependency from the LTO library - by modifying lib/LTO/LLVMBuild.txt - then it should link, I would think. Repository: rL LLVM https://reviews.llvm.org/D45244