[PATCH] D26649: [CMake] Support lld with LTO bootstrap
Chris Bieneman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 17 10:21:23 PST 2017
beanz added inline comments.
Comment at: cfe/trunk/CMakeLists.txt:531
+ add_dependencies(clang-bootstrap-deps lld)
> I come back to this a bit late, sorry, but I'm not sure I understand why this dependency on the bootstrap happens only when LTO is used?
We should probably separate `LLVM_ENABLE_LTO` and `LLVM_ENABLE_LLD`. You can use LLD without LTO on a wider variety of platforms (including OS X), and you might want to use LLD without LTO.
More information about the cfe-commits