aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/asm.py
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-10-19 15:06:11 +0100
committerEli Schwartz <eschwartz93@gmail.com>2023-10-19 14:47:19 -0400
commit7b7d2e060b447de9c2642848847370a58711ac1c (patch)
tree0750a6fcace3479e6d5d72cee45786b0798c6537 /mesonbuild/compilers/asm.py
parente2a87afa52612c9ec6fd825e115838323ba13936 (diff)
downloadmeson-7b7d2e060b447de9c2642848847370a58711ac1c.zip
meson-7b7d2e060b447de9c2642848847370a58711ac1c.tar.gz
meson-7b7d2e060b447de9c2642848847370a58711ac1c.tar.bz2
mtest: set ASAN_OPTIONS and UBSAN_OPTIONS to abort by default
Do as we do for MALLOC_PERTURB and set a sensible value for both ASAN_OPTIONS and UBSAN_OPTIONS to abort on failure and give more helpful output at the same time. We do not set these options if the user has exported a value themselves to allow override. In the last week alone, I've observed two cases where people were expecting sanitizers to abort on failure and were surprised when it didn't: 1) https://github.com/git/git/commit/252d693797912ddb2684733160170f0408b73274 2) https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/c47df433f7bc9936fc59b323ca5e53ea4a04f40e Correct this - which is in-line with meson's DWIM/DTRT philosophy. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'mesonbuild/compilers/asm.py')
0 files changed, 0 insertions, 0 deletions