[clang] e6f576b - [Docs] Mention RISC-V in the introductory paragraph in ShadowCallStack.rst. (#79241)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 24 12:07:02 PST 2024
Author: Craig Topper
Date: 2024-01-24T12:06:58-08:00
New Revision: e6f576b0c3fdddcd5916dcce24d17e36d2dbe2e6
URL: https://github.com/llvm/llvm-project/commit/e6f576b0c3fdddcd5916dcce24d17e36d2dbe2e6
DIFF: https://github.com/llvm/llvm-project/commit/e6f576b0c3fdddcd5916dcce24d17e36d2dbe2e6.diff
LOG: [Docs] Mention RISC-V in the introductory paragraph in ShadowCallStack.rst. (#79241)
RISC-V is mentioned elsewhere in the document it seems like it should be
mentioned in the introduction.
Added:
Modified:
clang/docs/ShadowCallStack.rst
Removed:
################################################################################
diff --git a/clang/docs/ShadowCallStack.rst b/clang/docs/ShadowCallStack.rst
index 04c04d259d7dc6f..6e5192fd672391b 100644
--- a/clang/docs/ShadowCallStack.rst
+++ b/clang/docs/ShadowCallStack.rst
@@ -9,7 +9,7 @@ Introduction
============
ShadowCallStack is an instrumentation pass, currently only implemented for
-aarch64, that protects programs against return address overwrites
+aarch64 and RISC-V, that protects programs against return address overwrites
(e.g. stack buffer overflows.) It works by saving a function's return address
to a separately allocated 'shadow call stack' in the function prolog in
non-leaf functions and loading the return address from the shadow call stack
More information about the cfe-commits
mailing list