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

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Aug 7 11:57:53 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Hubert Tong (hubert-reinterpretcast)

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/214817.diff


1 Files Affected:

- (modified) clang/docs/ReleaseNotes.md (+4) 


``````````diff
diff --git a/clang/docs/ReleaseNotes.md b/clang/docs/ReleaseNotes.md
index a75d666f67691..76a4d911c1b2f 100644
--- a/clang/docs/ReleaseNotes.md
+++ b/clang/docs/ReleaseNotes.md
@@ -1295,6 +1295,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.

``````````

</details>


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


More information about the llvm-branch-commits mailing list