[clang] [clang][ReleaseNotes] document -fstack-clash-protection for Android (PR #223786)

Nick Desaulniers via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 15 11:50:30 PDT 2026


https://github.com/nickdesaulniers created https://github.com/llvm/llvm-project/pull/223786

Link: #209279


>From 0f872987b276984ec9e3345ce312e634b72fb545 Mon Sep 17 00:00:00 2001
From: Nick Desaulniers <ndesaulniers at google.com>
Date: Tue, 15 Sep 2026 11:49:24 -0700
Subject: [PATCH] [clang][ReleaseNotes] document -fstack-clash-protection for
 Android

Link: #209279
---
 clang/docs/ReleaseNotes.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/clang/docs/ReleaseNotes.md b/clang/docs/ReleaseNotes.md
index f37bcda179c95f..113d7d97ef1660 100644
--- a/clang/docs/ReleaseNotes.md
+++ b/clang/docs/ReleaseNotes.md
@@ -111,6 +111,10 @@ features cannot lower the translation-unit ABI level;
 
 - Templight support has been removed.
 
+- `-fstack-clash-protection` has been enabled implicitly by default for android
+  target triples (except 32b arm targets). Can be disabled via
+  `-fno-stack-clash-protection`.
+
 ### Clang Python Bindings Potentially Breaking Changes
 
 - `CompletionChunkKind` instance's `__str__` representation has been adapted to be consistent with other enums in the library.



More information about the cfe-commits mailing list