summaryrefslogtreecommitdiffstats
path: root/clang/docs/ClangCommandLineReference.rst
diff options
context:
space:
mode:
Diffstat (limited to 'clang/docs/ClangCommandLineReference.rst')
-rw-r--r--clang/docs/ClangCommandLineReference.rst15
1 files changed, 13 insertions, 2 deletions
diff --git a/clang/docs/ClangCommandLineReference.rst b/clang/docs/ClangCommandLineReference.rst
index 7047cd9bb7b..5b8a96b61b3 100644
--- a/clang/docs/ClangCommandLineReference.rst
+++ b/clang/docs/ClangCommandLineReference.rst
@@ -1699,9 +1699,14 @@ Emit OpenMP code only for SIMD-based constructs.
.. option:: -foperator-arrow-depth=<arg>
-.. option:: -foptimization-record-file=<arg>
+.. option:: -foptimization-record-file=<file>
-Specify the output name of the file containing the optimization remarks. Implies -fsave-optimization-record. On Darwin platforms, this cannot be used with multiple -arch <arch> options.
+Implies -fsave-optimization-record. On Darwin platforms, this
+ cannot be used with multiple -arch <arch> options.
+
+.. option:: -foptimization-record-passes=<regex>
+
+Only include passes which match a specified regular expression in the generated optimization record (by default, include all passes)
.. option:: -foptimize-sibling-calls, -fno-optimize-sibling-calls
@@ -1834,6 +1839,12 @@ Turn on loop reroller
Generate a YAML optimization record file
+.. program:: clang1
+.. option:: -fsave-optimization-record=<format>
+.. program:: clang
+
+Generate an optimization record file in a specific format.
+
.. option:: -fseh-exceptions
Use SEH style exceptions
OpenPOWER on IntegriCloud