-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-sanitizersArea: Sanitizers for correctness and code qualityArea: Sanitizers for correctness and code qualityC-bugCategory: This is a bug.Category: This is a bug.F-target_modifiers`#![feature(target_modifiers)]``#![feature(target_modifiers)]`T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
Some sanitizers need to be target modifiers, and some do not. For now, we should mark all sanitizers as target modifiers except for these: AddressSanitizer, LeakSanitizer
For kCFI, the helper flag -Zsanitizer-cfi-normalize-integers
should also be a target modifier. Same applies to #138311 when it lands.
The shadow-call-stack sanitizer is currently being considered as a target modifier for simplicity. However, there are cases where it does not need to be a target modifier.
Please see the target modifiers tracking issue for more details. See also the Tracking Issue for stabilizing the sanitizers.
cc @rcvalle @azhogin @maurer
@rustbot label F-target_modifiers A-sanitizers
Metadata
Metadata
Assignees
Labels
A-sanitizersArea: Sanitizers for correctness and code qualityArea: Sanitizers for correctness and code qualityC-bugCategory: This is a bug.Category: This is a bug.F-target_modifiers`#![feature(target_modifiers)]``#![feature(target_modifiers)]`T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.