[PATCH] D30239: enable -flto=thin in clang-cl

Mehdi AMINI via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 3 13:57:41 PST 2017


mehdi_amini added a comment.

In https://reviews.llvm.org/D30239#691972, @rnk wrote:

> Do you guys think that maybe -flto should imply -fuse-ld=lld, or is that too much magic?


I don't know enough about windows, but I would think it may be surprising for a user that -flto changes the linker behind his back?

I'm biased but as a user I rather have to opt-in instead of the compiler doing stuff without me knowing about it.


Repository:
  rL LLVM

https://reviews.llvm.org/D30239





More information about the cfe-commits mailing list