[llvm-branch-commits] [clang] 9e445a6 - [Release Notes] Clang UBSan changes to aggregate copy/move operand checks

Douglas Yung via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Aug 15 08:38:14 PDT 2026


Author: Hubert Tong
Date: 2026-08-15T15:38:01Z
New Revision: 9e445a61719eab7d4e778f67cd0426cf90bd644e

URL: https://github.com/llvm/llvm-project/commit/9e445a61719eab7d4e778f67cd0426cf90bd644e
DIFF: https://github.com/llvm/llvm-project/commit/9e445a61719eab7d4e778f67cd0426cf90bd644e.diff

LOG: [Release Notes] Clang UBSan changes to aggregate copy/move operand checks

Document improvements to null, alignment, and array-bounds checks from #190739 and #203737.

Added: 
    

Modified: 
    clang/docs/ReleaseNotes.md

Removed: 
    


################################################################################
diff  --git a/clang/docs/ReleaseNotes.md b/clang/docs/ReleaseNotes.md
index 7409344c4f8fb..29366f64bb6da 100644
--- a/clang/docs/ReleaseNotes.md
+++ b/clang/docs/ReleaseNotes.md
@@ -1299,6 +1299,10 @@ latest release, please see the [Clang Web Site](https://clang.llvm.org) or the
 ### Sanitizers
 
 - UndefinedBehaviorSanitizer now supports `__ubsan_default_suppressions`.
+- UndefinedBehaviorSanitizer now performs null, alignment, and array-bounds
+  checks for aggregate (as opposed to scalar) copy operations in C; for C++,
+  this applies to trivial copy/move operations and some cases remain
+  unchecked. (#GH190739, #GH203737)
 - Sanitizer Special Case Lists (`-fsanitize-ignorelist`) now support
   Version 4 of the Special Case List format, which introduces a transition
   period for leading dot-slash (`./`) canonicalization in path matching.


        


More information about the llvm-branch-commits mailing list