diff options
| author | Ding Xiang Fei <dingxiangfei2009@protonmail.ch> | 2024-07-29 23:10:34 +0800 |
|---|---|---|
| committer | Ding Xiang Fei <dingxiangfei2009@protonmail.ch> | 2024-08-09 19:35:02 +0800 |
| commit | b368dcb246c5aedb087034e0f62941d038799f38 (patch) | |
| tree | 6feffd37a0fe174be9d5746685bd143653301e15 /src/doc/rustc | |
| parent | 8c7e0e160831866bc1a40691a39455aac21271c0 (diff) | |
unconditionally allow shadow call-stack for AArch64 whenever fixed-x18 is applied
Diffstat (limited to 'src/doc/rustc')
| -rw-r--r-- | src/doc/rustc/src/platform-support/android.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/doc/rustc/src/platform-support/android.md b/src/doc/rustc/src/platform-support/android.md index 9ddf00e3a50..96499b0d801 100644 --- a/src/doc/rustc/src/platform-support/android.md +++ b/src/doc/rustc/src/platform-support/android.md @@ -61,3 +61,8 @@ Currently the `riscv64-linux-android` target requires the following architecture * `Zba` (address calculation instructions) * `Zbb` (base instructions) * `Zbs` (single-bit instructions) + +### aarch64-linux-android on Nightly compilers + +As soon as `-Zfixed-x18` compiler flag is supplied, the [`ShadowCallStack` sanitizer](https://releases.llvm.org/7.0.1/tools/clang/docs/ShadowCallStack.html) +instrumentation is also made avaiable by supplying the second compiler flag `-Zsanitizer=shadow-call-stack`. |
