<div dir="ltr">That's pretty odd.  Can you rule out for sure that the files aren't being written somewhere unexpected or that the other clang was built against different sources?</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 7, 2017 at 9:10 AM, ORiordan, Martin via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-IE" link="#0563C1" vlink="#954F72">
<div class="m_4358368588004603799WordSection1">
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">Not 100% if this is an LLVM question or a CLang question, though I expect LLVM.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">On Linux, if I pass ‘</span><span style="font-size:12.0pt;font-family:"Courier New"">-fsave-optimization-record</span><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">’
 to ‘</span><span style="font-size:12.0pt;font-family:"Courier New"">clang</span><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">’, then it produces a ‘</span><span style="font-size:12.0pt;font-family:"Courier New"">*.opt.yaml</span><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">’
 file.  However, the same thing run on Windows using ‘</span><span style="font-size:12.0pt;font-family:"Courier New"">clang</span><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">’ built with VS2015 silently ignores this option.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">Is this a bug or is it intentional?  And if it is intentional, how can I configure and build on Windows to enable this feature?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">            MartinO<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif"><u></u> <u></u></span></p>
</div>
<p>------------------------------<wbr>------------------------------<wbr>--<br>
Intel Research and Development Ireland Limited<br>
Registered in Ireland<br>
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare<br>
Registered Number: 308263</p>


<p>This e-mail and any attachments may contain confidential material for the
sole use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.</p>

<p></p>
</div>

<br>______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">-Brian</div>
</div>