[PATCH] D26649: [CMake] Support lld with LTO bootstrap

Mehdi AMINI via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 14 22:51:06 PST 2016


mehdi_amini added a comment.

In https://reviews.llvm.org/D26649#595429, @phosek wrote:

> AFAIK lld on Darwin doesn't support LTO (last I heard it cannot even self-host at the moment) so I'm not sure if it makes sense to enable it `if(APPLE)`.


OK, we could error instead of ignoring then.
But you still need to restore the dependency on libLTO, unless I'm missing something.


Repository:
  rL LLVM

https://reviews.llvm.org/D26649





More information about the cfe-commits mailing list