diff options
| author | Reuben Cruise <reuben.cruise@arm.com> | 2025-09-01 16:53:50 +0100 |
|---|---|---|
| committer | Reuben Cruise <reuben.cruise@arm.com> | 2025-09-17 14:16:31 +0100 |
| commit | 6f813e887af44d74e9bcfdb207ecab407037a939 (patch) | |
| tree | 73791884e5f61983e200be3b173f58d71a090f41 /src/doc | |
| parent | 2ebb1263e3506412889410b567fa813ca3cb5c63 (diff) | |
| download | rust-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.md | 1 |
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 |
