hfinkel added a comment.

In https://reviews.llvm.org/D25225#584010, @twoh wrote:

> Is there a particular reason why "opt_record_file" is defined in 
> CC1Options.td, not Options.td? If -opt-record-file=<filename> is provided by 
> the command line, line 829-831 in CompilerInvocation.cpp won't handle it 
> because opt_record_file is not a CodeGenArg.


It is not intended to be used directly. The user should use 
-fsave-optimization-record (along with -foptimization-record-file= if they 
don't like the default name selected). We definitely need to write end-user 
docs for this; it is on my TODO list.


Repository:
  rL LLVM

https://reviews.llvm.org/D25225



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to