rust/tests/codegen-llvm/sanitizer/cfi
Bastian Kersting 95bdb34494 Remove the no_sanitize attribute in favor of sanitize
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.
2025-08-18 08:45:28 +00:00
..
add-canonical-jump-tables-flag.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
add-cfi-normalize-integers-flag.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
add-enable-split-lto-unit-flag.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
dbg-location-on-cfi-blocks.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
emit-type-checks-attr-sanitize-off.rs Remove the no_sanitize attribute in favor of sanitize 2025-08-18 08:45:28 +00:00
emit-type-checks.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
emit-type-metadata-attr-cfi-encoding.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
emit-type-metadata-id-itanium-cxx-abi-const-generics.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
emit-type-metadata-id-itanium-cxx-abi-drop-in-place.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
emit-type-metadata-id-itanium-cxx-abi-function-types.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
emit-type-metadata-id-itanium-cxx-abi-lifetimes.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
emit-type-metadata-id-itanium-cxx-abi-method-secondary-typeid.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
emit-type-metadata-id-itanium-cxx-abi-paths.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
emit-type-metadata-id-itanium-cxx-abi-pointer-types.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
emit-type-metadata-id-itanium-cxx-abi-primitive-types.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
emit-type-metadata-id-itanium-cxx-abi-repr-transparent-types.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
emit-type-metadata-id-itanium-cxx-abi-sequence-types.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
emit-type-metadata-id-itanium-cxx-abi-trait-types.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
emit-type-metadata-id-itanium-cxx-abi-user-defined-types.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
emit-type-metadata-itanium-cxx-abi-generalized.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
emit-type-metadata-itanium-cxx-abi-normalized-generalized.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
emit-type-metadata-itanium-cxx-abi-normalized.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
emit-type-metadata-itanium-cxx-abi.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
emit-type-metadata-trait-objects.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
external_weak_symbols.rs Prevent name collisions with internal implementation details 2025-08-07 13:41:17 +00:00
generalize-pointers.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
normalize-integers.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00