Skip to content

Commit f9f227d

Browse files
RamNalamothukrishna2803
authored andcommitted
[Docs] Fix typo in shadow call stack option name (llvm#151474)
Fix typo in shadow call stack option name mentioned in 'ShadowCallStack.rst'.
1 parent 8a9bb2a commit f9f227d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/docs/ShadowCallStack.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The instrumentation makes use of the platform register ``x18`` on AArch64,
6161
``x3`` (``gp``) on RISC-V with software shadow stack and ``ssp`` on RISC-V with
6262
hardware shadow stack, which needs `Zicfiss`_ and ``-fcf-protection=return``.
6363
Users can choose between the software and hardware based shadow stack
64-
implementation on RISC-V backend by passing ``-fsanitize=shadowcallstack``
64+
implementation on RISC-V backend by passing ``-fsanitize=shadow-call-stack``
6565
or ``Zicfiss`` with ``-fcf-protection=return``.
6666
For simplicity we will refer to this as the ``SCSReg``. On some platforms,
6767
``SCSReg`` is reserved, and on others, it is designated as a scratch register.

0 commit comments

Comments
 (0)