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
ff26b04fe3
commit
b1478e8ebc
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ pre_initialize_variables () {
|
|||
fi
|
||||
|
||||
# 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
|
||||
# defined in this script whose name starts with "component_".
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue