mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 08:05:45 +01:00
Asan make builds: avoid sanitizer recovery
Some sanitizers default to displaying an error message and recovering. This could result in a test being recorded as passing despite a complaint from the sanitizer. Turn off sanitizer recovery to avoid this risk.
This commit is contained in:
parent
2558d30f93
commit
5ca393f7b8
@ -145,7 +145,7 @@ pre_initialize_variables () {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# CFLAGS and LDFLAGS for Asan builds that don't use CMake
|
# CFLAGS and LDFLAGS for Asan builds that don't use CMake
|
||||||
ASAN_CFLAGS='-Werror -Wall -Wextra -fsanitize=address,undefined'
|
ASAN_CFLAGS='-Werror -Wall -Wextra -fsanitize=address,undefined -fno-sanitize-recover=all'
|
||||||
|
|
||||||
# Gather the list of available components. These are the functions
|
# Gather the list of available components. These are the functions
|
||||||
# defined in this script whose name starts with "component_".
|
# defined in this script whose name starts with "component_".
|
||||||
|
Loading…
Reference in New Issue
Block a user