[PATCH] D38808: [CMake] Allow LLVM_ENABLE_LTO to use MSVC LTCG
Zachary Turner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 11 10:55:21 PDT 2017
zturner created this revision.
Herald added subscribers: mehdi_amini, mgorny.
With this patch, if you specify `LLVM_ENABLE_LTO=Full` or `LLVM_ENABLE_LTO=On` and you are using cl + link, we enable the /GL and /LTCG flags for the compiler and linker, respectively.
https://reviews.llvm.org/D38808
Files:
llvm/cmake/modules/HandleLLVMOptions.cmake
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38808.118640.patch
Type: text/x-patch
Size: 4193 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171011/c8dade8e/attachment.bin>
More information about the llvm-commits
mailing list