about summary refs log tree commit diff
path: root/tests/codegen/sanitizer
AgeCommit message (Collapse)AuthorLines
2023-12-07CFI: Add char to CFI integer normalizationRamon de C Valle-57/+20
Adds char to CFI integer normalization to conform to #118032 for cross-language CFI support.
2023-11-21Update the minimum external LLVM to 16.Dario Nieuwenhuis-2/+0
2023-10-17Automatically enable cross-crate inlining for small functionsBen Kimock-8/+8
2023-09-22Fix test on targets with crt-static defaultTomasz Miąsko-10/+14
2023-09-11Use no_core for KCFI tests to exercise them in CITomasz Miąsko-1/+12
2023-08-29Preserve `___asan_globals_registered` symbol during LTO.Lukasz Anforowicz-0/+43
Fixes https://github.com/rust-lang/rust/issues/113404
2023-08-24Fix CFI: f32 and f64 are encoded incorrectly for cRamon de C Valle-6/+6
Fix #115150 by encoding f32 and f64 correctly for cross-language CFI. I missed changing the encoding for f32 and f64 when I introduced the integer normalization option in #105452 as integer normalization does not include floating point. `f32` and `f64` should be always encoded as `f` and `d` since they are both FFI safe when their representation are the same (i.e., IEEE 754) for both the Rust compiler and Clang.
2023-07-29Fix sanitizer tests depending on filenameJubilee Young-54/+54
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/+1756