[PATCH] D34928: Add docs for -foptimization-record-file=

Brian Gesiak via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 1 12:53:33 PDT 2017

modocache created this revision.

The Clang option was previously not included in the User's Manual.



Index: docs/UsersManual.rst
--- docs/UsersManual.rst
+++ docs/UsersManual.rst
@@ -332,6 +332,19 @@
    using a structured YAML format, users can parse or sort the remarks in a
    convenient way.
+.. _opt_foptimization-record-file:
+   Control the file to which optimization reports are written.
+   When optimization reports are being output (see
+   :ref:`-fsave-optimization-record <opt_fsave-optimization-record>`), this
+   option controls the file to which those reports are written.
+   If this option is not used, optimization records are output to a file named
+   after the primary file being compiled. If that's "foo.c", for example,
+   optimization records are output to "foo.opt.yaml".
 .. _opt_fdiagnostics-show-hotness:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34928.105001.patch
Type: text/x-patch
Size: 885 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170701/473195fd/attachment.bin>

More information about the cfe-commits mailing list