diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-03-27 10:13:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-27 10:13:43 +0100 |
| commit | dc4236d43bbc866e99f89721fb9fcd44b72e07d2 (patch) | |
| tree | 46bf05679c6f1f8ef925f322b917d0b0cf5d9037 /src/tools/compiletest | |
| parent | bffeb052d1de036e6cc11db1c80b7b07e50d90d8 (diff) | |
| parent | 2c0a8de0b91d0ea9dcab390cbff430329b1342b7 (diff) | |
| download | rust-dc4236d43bbc866e99f89721fb9fcd44b72e07d2.tar.gz rust-dc4236d43bbc866e99f89721fb9fcd44b72e07d2.zip | |
Rollup merge of #123024 - maurer:kcfi-testing, r=workingjubilee
CFI: Enable KCFI testing of run-pass tests This enables KCFI-based testing for all the CFI run-pass tests in the suite today. We can add the test header on top of in-flight CFI tests once they land. This is becoming more important as we get closer to leveraging CFI's multiple type attachment feature, as that is where the implementations will have a divergence. It also enables KCFI as a sanitizer for x86_64 and aarch64 Linux to make this possible. The sanitizer should likely be available for all aarch64, x86_64, and riscv targets, but that isn't critical for initial testing.
Diffstat (limited to 'src/tools/compiletest')
| -rw-r--r-- | src/tools/compiletest/src/header.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/compiletest/src/header.rs b/src/tools/compiletest/src/header.rs index 00fe1208c2f..99f1e33299d 100644 --- a/src/tools/compiletest/src/header.rs +++ b/src/tools/compiletest/src/header.rs @@ -827,6 +827,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[ "needs-sanitizer-cfi", "needs-sanitizer-dataflow", "needs-sanitizer-hwaddress", + "needs-sanitizer-kcfi", "needs-sanitizer-leak", "needs-sanitizer-memory", "needs-sanitizer-memtag", |
