Yea, the motivation for this was that I wanted an easy way to compare ThinLTO to MSVC LTCG, and the easiest way to get test data was to use LLVM itself as the benchmark <br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 11, 2017 at 9:38 PM Mehdi AMINI <<a href="mailto:joker.eph@gmail.com">joker.eph@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Oh right I totally missed that it would be using MSVC as a host compiler to build LLVM, I somehow misread the context and thought there was a mode where clang would generate LTO files consumed by MSVC.<div><br></div><div>-- </div><div></div></div><div dir="ltr"><div>Mehdi</div></div><div dir="ltr"><div><br><div><br></div><div><div class="gmail_extra"><br><div class="gmail_quote">2017-10-11 21:32 GMT-07:00 Zachary Turner <span dir="ltr"><<a href="mailto:zturner@google.com" target="_blank">zturner@google.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Microsoft visual c++?<br><br>It’s basically the same idea, although they call it LTCG, and the idea here is just that we need to pass different flags to msvc than we do to other compilers<br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 11, 2017 at 8:37 PM Mehdi AMINI via Phabricator <<a href="mailto:reviews@reviews.llvm.org" target="_blank">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">mehdi_amini added inline comments.<br>
<br>
<br>
================<br>
Comment at: llvm/cmake/modules/HandleLLVMOptions.cmake:771<br>
+# Sets the output parameter style to one of the following values:<br>
+#   thin, none, msvc, full<br>
+# If the function returns (e.g. there is no fatal error), the output parameter<br>
----------------<br>
What is "msvc"? (pointer to another doc accepted :))<br>
<br>
<br>
<a href="https://reviews.llvm.org/D38808" rel="noreferrer" target="_blank">https://reviews.llvm.org/D38808</a><br>
<br>
<br>
<br>
</blockquote></div>
</blockquote></div><br></div></div></div></div></blockquote></div>