llvmorg-github-actions[bot] wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Yanzuo Liu (zwuis)

<details>
<summary>Changes</summary>



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


1 Files Affected:

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


``````````diff
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
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/218229
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to