mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-27 12:55:29 +00:00
Use UBsan in addition to Asan with 'make test'
When building with make with the address sanitizer enabled, also enable the undefined behavior sanitizer.
This commit is contained in:
parent
c20a4053c3
commit
260921d3f2
|
@ -138,7 +138,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'
|
ASAN_CFLAGS='-Werror -Wall -Wextra -fsanitize=address,undefined'
|
||||||
|
|
||||||
# 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 a new issue