summaryrefslogtreecommitdiffstats
path: root/docs/UsersManual.rst
diff options
context:
space:
mode:
authorAdam Nemet <anemet@apple.com>2016-09-13 00:16:49 +0000
committerAdam Nemet <anemet@apple.com>2016-09-13 00:16:49 +0000
commit8503d6943b5caca573e49fba9912bc1e1c8447bf (patch)
tree4694c974a202908336c29f3a6f6690e7d68b4462 /docs/UsersManual.rst
parent848829840367b5513fd858b09f5bc57414cf7c2e (diff)
Revert "Add -fdiagnostics-show-hotness"
This reverts commit r281276. Many bots are failing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281279 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/UsersManual.rst')
-rw-r--r--docs/UsersManual.rst28
1 files changed, 0 insertions, 28 deletions
diff --git a/docs/UsersManual.rst b/docs/UsersManual.rst
index 1f1dd4fb7f..e9cc2d3868 100644
--- a/docs/UsersManual.rst
+++ b/docs/UsersManual.rst
@@ -317,28 +317,6 @@ output format of the diagnostics that it generates.
by category, so it should be a high level category. We want dozens
of these, not hundreds or thousands of them.
-.. _opt_fdiagnostics-show-hotness:
-
-**-f[no-]diagnostics-show-hotness**
- Enable profile hotness information in diagnostic line.
-
- This option, which defaults to off, controls whether Clang prints the
- profile hotness associated with a diagnostics in the presence of
- profile-guided optimization information. This is currently supported with
- optimization remarks (see :ref:`Options to Emit Optimization Reports
- <rpass>`). The hotness information allows users to focus on the hot
- optimization remarks that are likely to be more relevant for run-time
- performance.
-
- For example, in this output, the block containing the callsite of `foo` was
- executed 3000 times according to the profile data:
-
- ::
-
- s.c:7:10: remark: foo inlined into bar (hotness: 3000) [-Rpass-analysis=inline]
- sum += foo(x, x - 2);
- ^
-
.. _opt_fdiagnostics-fixit-info:
**-f[no-]diagnostics-fixit-info**
@@ -557,8 +535,6 @@ control the crash diagnostics.
The -fno-crash-diagnostics flag can be helpful for speeding the process
of generating a delta reduced test case.
-.. _rpass:
-
Options to Emit Optimization Reports
------------------------------------
@@ -602,10 +578,6 @@ outside of the major transformations (e.g., inlining, vectorization,
loop optimizations) and not every optimization pass supports this
feature.
-Note that when using profile-guided optimization information, profile hotness
-information can be included in the remarks (see
-:ref:`-fdiagnostics-show-hotness <opt_fdiagnostics-show-hotness>`).
-
Current limitations
^^^^^^^^^^^^^^^^^^^