-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sanitizers: Stabilize core sanitizers
Stabilize AddressSanitizer, LeakSanitizer, MemorySanitizer, ThreadSanitizer for the Tier 1 targets that support them.
- Loading branch information
Showing
8 changed files
with
37 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
tests/ui/sanitizer/stable-supported-can-be-used-with-unstable-options.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Verifies that stable supported sanitizers can be used with `-Zunstable-options`. | ||
// | ||
//@ needs-llvm-components: x86_64 | ||
//@ needs-sanitizer-support | ||
//@ needs-sanitizer-address | ||
//@ build-pass | ||
//@ compile-flags: -Zunstable-options -Csanitizer=address --target x86_64-unknown-linux-gnu | ||
|
||
#![feature(no_core)] | ||
#![no_core] | ||
#![no_main] |
11 changes: 11 additions & 0 deletions
11
tests/ui/sanitizer/stable-supported-can-be-used-without-unstable-options.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Verifies that stable supported sanitizers can be used without `-Zunstable-options`. | ||
// | ||
//@ needs-llvm-components: x86_64 | ||
//@ needs-sanitizer-support | ||
//@ needs-sanitizer-address | ||
//@ build-pass | ||
//@ compile-flags: -Csanitizer=address --target x86_64-unknown-linux-gnu | ||
|
||
#![feature(no_core)] | ||
#![no_core] | ||
#![no_main] |