rust/tests
bors 506512391b Auto merge of #124676 - djkoloski:relax_multiple_sanitizers, r=cuviper,rcvalle
Relax restrictions on multiple sanitizers

Most combinations of LLVM sanitizers are legal-enough to enable simultaneously. This change will allow simultaneously enabling ASAN and shadow call stacks on supported platforms.

I used this python script to generate the mutually-exclusive sanitizer combinations:

```python
#!/usr/bin/python3

import subprocess

flags = [
    ["-fsanitize=address"],
    ["-fsanitize=leak"],
    ["-fsanitize=memory"],
    ["-fsanitize=thread"],
    ["-fsanitize=hwaddress"],
    ["-fsanitize=cfi", "-flto", "-fvisibility=hidden"],
    ["-fsanitize=memtag", "--target=aarch64-linux-android", "-march=armv8a+memtag"],
    ["-fsanitize=shadow-call-stack"],
    ["-fsanitize=kcfi", "-flto", "-fvisibility=hidden"],
    ["-fsanitize=kernel-address"],
    ["-fsanitize=safe-stack"],
    ["-fsanitize=dataflow"],
]

for i in range(len(flags)):
    for j in range(i):
        command = ["clang++"] + flags[i] + flags[j] + ["-o", "main.o", "-c", "main.cpp"]
        completed = subprocess.run(command, stderr=subprocess.DEVNULL)
        if completed.returncode != 0:
            first = flags[i][0][11:].replace('-', '').upper()
            second = flags[j][0][11:].replace('-', '').upper()
            print(f"(SanitizerSet::{first}, SanitizerSet::{second}),")
```
2024-05-21 15:35:29 +00:00
..
assembly test: Add assembly tests for x86_64-unknown-linux-none target 2024-05-12 01:25:11 +02:00
auxiliary
codegen Auto merge of #125298 - tesuji:arrcmp, r=nikic 2024-05-21 05:55:39 +00:00
codegen-units Fix some minor issues from the ui-test auto-porting 2024-05-11 19:58:35 -04:00
coverage coverage: Simplify counter expressions using simple algebra 2024-05-14 13:58:40 +10:00
coverage-run-rustdoc
crashes crashes: add more 2024-05-18 23:56:57 +02:00
debuginfo Fix `tests/debuginfo/strings-and-strs`. 2024-05-20 15:01:59 +10:00
incremental Update tests/incremental/foreign.rs 2024-05-20 11:13:10 -04:00
mir-opt Rollup merge of #125173 - scottmcm:never-checked, r=davidtwco 2024-05-20 18:13:48 +02:00
pretty hir pretty: fix block indent 2024-05-20 20:30:44 +02:00
run-make Rollup merge of #125218 - Oneirical:easy-test-the-third, r=jieyouxu 2024-05-21 12:47:05 +02:00
run-make-fulldeps
run-pass-valgrind
rustdoc Add failing test for cross-crate enum in type alias 2024-05-19 20:13:18 -04:00
rustdoc-gui Rollup merge of #124738 - notriddle:notriddle/search-form-js, r=GuillaumeGomez 2024-05-07 18:12:54 +02:00
rustdoc-js rustdoc-search: add parser for `&` syntax 2024-04-19 14:31:21 -07:00
rustdoc-js-std rustdoc-search: add parser for `&` syntax 2024-04-19 14:31:21 -07:00
rustdoc-json
rustdoc-ui Always hide private fields in aliased type 2024-05-11 13:11:46 +02:00
ui Auto merge of #124676 - djkoloski:relax_multiple_sanitizers, r=cuviper,rcvalle 2024-05-21 15:35:29 +00:00
ui-fulldeps Add `ErrorGuaranteed` to `Recovered::Yes` and use it more. 2024-05-09 20:12:07 +10:00
COMPILER_TESTS.md