[llvm-branch-commits] [clang] release/23.x: [clang] Add release notes for #212122 (PR #218229)
Yanzuo Liu via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun Aug 23 04:25:01 PDT 2026
https://github.com/zwuis created https://github.com/llvm/llvm-project/pull/218229
None
>From 961856253f029abce30a327a72be9f713d06da61 Mon Sep 17 00:00:00 2001
From: Yanzuo Liu <zwuis at outlook.com>
Date: Sun, 23 Aug 2026 19:23:02 +0800
Subject: [PATCH] release/23.x: [clang] Add release notes for #212122
---
clang/docs/ReleaseNotes.md | 3 +++
1 file changed, 3 insertions(+)
diff --git a/clang/docs/ReleaseNotes.md b/clang/docs/ReleaseNotes.md
index 59576a299c593..17cf79d648a70 100644
--- a/clang/docs/ReleaseNotes.md
+++ b/clang/docs/ReleaseNotes.md
@@ -159,6 +159,9 @@ latest release, please see the [Clang Web Site](https://clang.llvm.org) or the
- Fixed Itanium mangling for lambdas in default member initializers of local
classes to use `<local-name>` encoding, preventing mangling collisions between
distinct local classes.
+- For `x86_64-windows-msvc` targets, Clang now aligns global variables using the MSVC size‑based alignment scheme instead of the x86‑64 psABI "large array" promotion rule.
+ This makes alignment behavior fully compatible with MSVC and fixes incorrect over‑alignment / under‑alignment of globals.
+ `-fclang-abi-compat=22` restores the previous behavior. (#GH196071), (#GH171855)
### AST Dumping Potentially Breaking Changes
More information about the llvm-branch-commits
mailing list