https://github.com/RamNalamothu created 
https://github.com/llvm/llvm-project/pull/151474

Fix typo in shadow call stack option name mentioned in 'ShadowCallStack.rst'.

>From 0ca197a9e5775d16986acd2380bdc51c1d7e66c8 Mon Sep 17 00:00:00 2001
From: Venkata Ramanaiah Nalamothu <quic_vnala...@quicinc.com>
Date: Thu, 31 Jul 2025 14:19:31 +0530
Subject: [PATCH] [Docs] Fix typo in shadow call stack option name

---
 clang/docs/ShadowCallStack.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/docs/ShadowCallStack.rst b/clang/docs/ShadowCallStack.rst
index fc8bea83e1145..9b104cc3b7180 100644
--- a/clang/docs/ShadowCallStack.rst
+++ b/clang/docs/ShadowCallStack.rst
@@ -61,7 +61,7 @@ The instrumentation makes use of the platform register 
``x18`` on AArch64,
 ``x3`` (``gp``) on RISC-V with software shadow stack and ``ssp`` on RISC-V with
 hardware shadow stack, which needs `Zicfiss`_ and ``-fcf-protection=return``.
 Users can choose between the software and hardware based shadow stack
-implementation on RISC-V backend by passing ``-fsanitize=shadowcallstack``
+implementation on RISC-V backend by passing ``-fsanitize=shadow-call-stack``
 or ``Zicfiss`` with ``-fcf-protection=return``.
 For simplicity we will refer to this as the ``SCSReg``. On some platforms,
 ``SCSReg`` is reserved, and on others, it is designated as a scratch register.

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

Reply via email to