[PATCH] D26715: [CMake] Error when LTO and lld are enabled on Darwin

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 15 18:12:39 PST 2016


davide added inline comments.


================
Comment at: cmake/modules/HandleLLVMOptions.cmake:99-101
+  if(LLVM_ENABLE_LLD AND LLVM_ENABLE_LTO)
+    message(FATAL_ERROR "lld does not support LTO on Darwin")
+  endif()
----------------
The change seems reasonable to me, but please wait for Chris to sign-off.
A shame lld still doesn't have LTO on Mach-O :(


Repository:
  rL LLVM

https://reviews.llvm.org/D26715





More information about the llvm-commits mailing list