[llvm] [NFC] [docs] point users towards clang remark flags (PR #147820)
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 9 13:52:02 PDT 2025
https://github.com/fmayer updated https://github.com/llvm/llvm-project/pull/147820
>From 8e56942c51004ec5582a2ab26a96104d3737d920 Mon Sep 17 00:00:00 2001
From: Florian Mayer <fmayer at google.com>
Date: Wed, 9 Jul 2025 13:25:45 -0700
Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?=
=?UTF-8?q?itial=20version?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Created using spr 1.3.4
---
llvm/docs/Remarks.rst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/llvm/docs/Remarks.rst b/llvm/docs/Remarks.rst
index 3be66e5adac95..9d8bc1635f4ed 100644
--- a/llvm/docs/Remarks.rst
+++ b/llvm/docs/Remarks.rst
@@ -57,6 +57,8 @@ Enabling optimization remarks
There are two modes that are supported for enabling optimization remarks in
LLVM: through remark diagnostics, or through serialized remarks.
+See also the clang flags `-Rpass` and `-fsave-optimization-record`.
+
Remark diagnostics
------------------
>From b92c5e3c0dc91e0694fb98d1240ec6943f25a3eb Mon Sep 17 00:00:00 2001
From: Florian Mayer <fmayer at google.com>
Date: Wed, 9 Jul 2025 13:51:48 -0700
Subject: [PATCH 2/2] link
Created using spr 1.3.4
---
llvm/docs/Remarks.rst | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/llvm/docs/Remarks.rst b/llvm/docs/Remarks.rst
index 9d8bc1635f4ed..c89940f9ff4d5 100644
--- a/llvm/docs/Remarks.rst
+++ b/llvm/docs/Remarks.rst
@@ -57,7 +57,10 @@ Enabling optimization remarks
There are two modes that are supported for enabling optimization remarks in
LLVM: through remark diagnostics, or through serialized remarks.
-See also the clang flags `-Rpass` and `-fsave-optimization-record`.
+See also the clang flags
+`-Rpass <https://clang.llvm.org/docs/UsersManual.html#options-to-emit-optimization-reports>`_
+and
+`-fsave-optimization-record <http://clang.llvm.org/docs/UsersManual.html#cmdoption-f-no-save-optimization-record>`_.
Remark diagnostics
------------------
More information about the llvm-commits
mailing list