This removes the #[no_sanitize] attribute, which was behind an unstable feature named no_sanitize. Instead, we introduce the sanitize attribute which is more powerful and allows to be extended in the future (instead of just focusing on turning sanitizers off). This also makes sanitize(kernel_address = ..) attribute work with -Zsanitize=address To do it the same as how clang disables address sanitizer, we now disable ASAN on sanitize(kernel_address = "off") and KASAN on sanitize(address = "off"). The same was added to clang in https://reviews.llvm.org/D44981. |
||
|---|---|---|
| .. | ||
| add-cfi-normalize-integers-flag.rs | ||
| add-kcfi-arity-flag.rs | ||
| add-kcfi-flag.rs | ||
| add-kcfi-offset-flag.rs | ||
| emit-kcfi-operand-bundle-attr-sanitize-off.rs | ||
| emit-kcfi-operand-bundle-itanium-cxx-abi-generalized.rs | ||
| emit-kcfi-operand-bundle-itanium-cxx-abi-normalized-generalized.rs | ||
| emit-kcfi-operand-bundle-itanium-cxx-abi-normalized.rs | ||
| emit-kcfi-operand-bundle-itanium-cxx-abi.rs | ||
| emit-kcfi-operand-bundle.rs | ||
| emit-type-metadata-trait-objects.rs | ||
| naked-function.rs | ||