[llvm-branch-commits] [clang] [AArch64] Add GCS release notes (PR #103866)

John Brawn via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Aug 14 05:24:23 PDT 2024


https://github.com/john-brawn-arm created https://github.com/llvm/llvm-project/pull/103866

None

>From a3ad76a5c7cf33d4dc21fed322796a27f74d830e Mon Sep 17 00:00:00 2001
From: John Brawn <john.brawn at arm.com>
Date: Wed, 14 Aug 2024 12:22:51 +0100
Subject: [PATCH] [AArch64] Add GCS release notes

---
 clang/docs/ReleaseNotes.rst | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 5cd398c22c946d..b56e7177846d99 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -1207,6 +1207,11 @@ Arm and AArch64 Support
     * Arm Neoverse-N3 (neoverse-n3).
     * Arm Neoverse-V3 (neoverse-v3).
     * Arm Neoverse-V3AE (neoverse-v3ae).
+- ``-mbranch-protection=gcs`` has been added which enables support for the
+  Guarded Control Stack extension, and ``-mbranch-protection=standard`` also
+  enables this. Enabling GCS causes the GCS GNU property bit to be set on output
+  objects. It doesn't cause any code generation changes, as the code generated
+  by clang is already compatible with GCS.
 
 Android Support
 ^^^^^^^^^^^^^^^



More information about the llvm-branch-commits mailing list