rust/compiler/rustc_session/src
Matthias Krüger 3075644a3d
Rollup merge of #128348 - dingxiangfei2009:allow-shadow-call-stack-sanitizer, r=tmandry
Unconditionally allow shadow call-stack sanitizer for AArch64

It is possible to do so whenever `-Z fixed-x18` is applied.

cc ``@Darksonn`` for context

The reasoning is that, as soon as reservation on `x18` is forced through the flag `fixed-x18`, on AArch64 the option to instrument with [Shadow Call Stack sanitizer](https://clang.llvm.org/docs/ShadowCallStack.html) is then applicable regardless of the target configuration.

At the every least, we would like to relax the restriction on specifically `aarch64-unknonw-none`. For this option, we can include a documentation change saying that users of compiled objects need to ensure that they are linked to runtime with Shadow Call Stack instrumentation support.

Related: #121972
2024-08-15 19:32:35 +02:00
..
config Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
code_stats.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
config.rs Split ColorConfig off of HumanReadableErrorType 2024-08-08 14:41:33 +00:00
cstore.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
errors.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
filesearch.rs linker: Pass fewer search directories to the linker 2024-08-03 14:20:18 +03:00
lib.rs Use tidy to sort crate attributes for all compiler crates. 2024-06-12 15:49:10 +10:00
options.rs Rollup merge of #128762 - fmease:use-more-slice-pats, r=compiler-errors 2024-08-11 07:51:51 +02:00
output.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
parse.rs Make Span optional in BufferedEarlyLint 2024-08-07 14:08:34 +02:00
search_paths.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
session.rs Rollup merge of #128348 - dingxiangfei2009:allow-shadow-call-stack-sanitizer, r=tmandry 2024-08-15 19:32:35 +02:00
utils.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
version.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00