Rollup merge of #106061 - ilovepi:fuchsia-scs, r=oli-obk
Enable Shadow Call Stack for Fuchsia on AArch64 Fuchsia already uses SCS by default for C/C++ code on ARM hardware. This patch allows SCS to be used for Rust code as well.
This commit is contained in:
commit
fd75cfef66
1 changed files with 3 additions and 1 deletions
|
@ -8,7 +8,9 @@ pub fn target() -> Target {
|
||||||
arch: "aarch64".into(),
|
arch: "aarch64".into(),
|
||||||
options: TargetOptions {
|
options: TargetOptions {
|
||||||
max_atomic_width: Some(128),
|
max_atomic_width: Some(128),
|
||||||
supported_sanitizers: SanitizerSet::ADDRESS | SanitizerSet::CFI,
|
supported_sanitizers: SanitizerSet::ADDRESS
|
||||||
|
| SanitizerSet::CFI
|
||||||
|
| SanitizerSet::SHADOWCALLSTACK,
|
||||||
..super::fuchsia_base::opts()
|
..super::fuchsia_base::opts()
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue