[llvm-dev] '-fsave-optimization-record' and VS2015 built compiler

Hal Finkel via llvm-dev llvm-dev at lists.llvm.org
Thu Sep 7 07:36:40 PDT 2017


On 09/07/2017 09:10 AM, ORiordan, Martin via llvm-dev wrote:
>
> Not 100% if this is an LLVM question or a CLang question, though I 
> expect LLVM.
>
> On Linux, if I pass ‘-fsave-optimization-record’ to ‘clang’, then it 
> produces a ‘*.opt.yaml’ file.  However, the same thing run on Windows 
> using ‘clang’ built with VS2015 silently ignores this option.
>
> 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?
>

Sounds like a bug (I've never tested on Windows). I suggest filing a bug 
report. Also, in general, you'll have better luck with frontend 
questions on cfe-dev.

  -Hal

> Thanks,
>
>             MartinO
>
> --------------------------------------------------------------
> Intel Research and Development Ireland Limited
> Registered in Ireland
> Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
> Registered Number: 308263
>
> 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.
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

-- 
Hal Finkel
Lead, Compiler Technology and Programming Languages
Leadership Computing Facility
Argonne National Laboratory

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170907/b6d4b164/attachment-0001.html>


More information about the llvm-dev mailing list