about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorReuben Cruise <reuben.cruise@arm.com>2025-09-01 16:53:50 +0100
committerReuben Cruise <reuben.cruise@arm.com>2025-09-17 14:16:31 +0100
commit6f813e887af44d74e9bcfdb207ecab407037a939 (patch)
tree73791884e5f61983e200be3b173f58d71a090f41 /src/doc
parent2ebb1263e3506412889410b567fa813ca3cb5c63 (diff)
downloadrust-6f813e887af44d74e9bcfdb207ecab407037a939.tar.gz
rust-6f813e887af44d74e9bcfdb207ecab407037a939.zip
Adds AArch64 GCS support
- Adds option to rustc config to enable GCS
- Passes `guarded-control-stack` flag to llvm if enabled
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/unstable-book/src/compiler-flags/branch-protection.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/doc/unstable-book/src/compiler-flags/branch-protection.md b/src/doc/unstable-book/src/compiler-flags/branch-protection.md
index f0cc44a07f3..c15567dcac2 100644
--- a/src/doc/unstable-book/src/compiler-flags/branch-protection.md
+++ b/src/doc/unstable-book/src/compiler-flags/branch-protection.md
@@ -13,6 +13,7 @@ It takes some combination of the following values, separated by a `,`.
 - `leaf` - Enable pointer authentication for all functions, including leaf functions.
 - `b-key` - Sign return addresses with key B, instead of the default key A.
 - `bti` - Enable branch target identification.
+- `gcs` - Enable guarded control stack support.
 
 `leaf`, `b-key` and `pc` are only valid if `pac-ret` was previously specified.
 For example, `-Z branch-protection=bti,pac-ret,leaf` is valid, but