about summary refs log tree commit diff
path: root/tests/codegen/sanitizer/no-sanitize.rs
AgeCommit message (Collapse)AuthorLines
2025-07-22Rename `tests/codegen` into `tests/codegen-llvm`Guillaume Gomez-39/+0
2024-11-02Allow disabling ASan instrumentation for globalsDaniel Bertalan-0/+10
AddressSanitizer adds instrumentation to global variables unless the [`no_sanitize_address`](https://llvm.org/docs/LangRef.html#global-attributes) attribute is set on them. This commit extends the existing `#[no_sanitize(address)]` attribute to set this; previously it only had the desired effect on functions.
2024-05-31Run rustfmt on `tests/codegen/`.Nicholas Nethercote-1/+1
Except for `simd-intrinsic/`, which has a lot of files containing multiple types like `u8x64` which really are better when hand-formatted. There is a surprising amount of two-space indenting in this directory. Non-trivial changes: - `rustfmt::skip` needed in `debug-column.rs` to preserve meaning of the test. - `rustfmt::skip` used in a few places where hand-formatting read more nicely: `enum/enum-match.rs` - Line number adjustments needed for the expected output of `debug-column.rs` and `coroutine-debug.rs`.
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-2/+2
2023-10-17Automatically enable cross-crate inlining for small functionsBen Kimock-1/+1
2023-09-22Fix test on targets with crt-static defaultTomasz Miąsko-1/+1
2023-07-29Fix sanitizer tests depending on filenameJubilee Young-2/+2
In the basic case, simply do the string substitution. For one case with many instances, capture the Itanium- mangled filename and assert its reuse instead.
2023-07-29tests/codegen/sanitizer{-,_}* -> sanitizer/*Jubilee Young-0/+29