dblaikie added a comment. I meant that lib/LTO/LLVMBuild.txt should include "ExecutionEngine" in its required_libraries. I wouldn't expect any changes would be needed to tools/lto/* or tools/llvm-lto/*. Repository: rL LLVM https://reviews.llvm.org/D45244