Author: Bill Wendling
Date: 2022-02-15T00:06:58-08:00
New Revision: 86bde99a9027f875383e38bfd3a863abae3d0e75

URL: 
https://github.com/llvm/llvm-project/commit/86bde99a9027f875383e38bfd3a863abae3d0e75
DIFF: 
https://github.com/llvm/llvm-project/commit/86bde99a9027f875383e38bfd3a863abae3d0e75.diff

LOG: Insert a blurb about the -fzero-call-used-regs feature

Reviewed By: nickdesaulniers

Differential Revision: https://reviews.llvm.org/D119592

Added: 
    

Modified: 
    clang/docs/ReleaseNotes.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index d6115e0e4a51c..43a2cf98e7c8b 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -47,7 +47,12 @@ sections with improvements to Clang's support for those 
languages.
 Major New Features
 ------------------
 
--  ...
+- Clang now supports the ``-fzero-call-used-regs`` feature for x86. The purpose
+  of this feature is to limit Return-Oriented Programming (ROP) exploits and
+  information leakage. It works by zeroing out a selected class of registers
+  before function return --- e.g., all GPRs that are used within the function.
+  There is an analogous ``zero_call_used_regs`` attribute to allow for finer
+  control of this feature.
 
 Improvements to Clang's diagnostics
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


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

Reply via email to