[llvm-branch-commits] [clang] [Release Notes] Clang UBSan changes to aggregate copy/move operand checks (PR #214817)

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


https://github.com/dyung updated https://github.com/llvm/llvm-project/pull/214817

>From 9e445a61719eab7d4e778f67cd0426cf90bd644e Mon Sep 17 00:00:00 2001
From: Hubert Tong <hubert.reinterpretcast at gmail.com>
Date: Fri, 7 Aug 2026 14:27:39 -0400
Subject: [PATCH] [Release Notes] Clang UBSan changes to aggregate copy/move
 operand checks

Document improvements to null, alignment, and array-bounds checks from #190739 and #203737.
---
 clang/docs/ReleaseNotes.md | 4 ++++
 1 file changed, 4 insertions(+)

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