Beef up configury for the undefined behaviour sanitiser.
If the compiler supports -fno-sanitize=alignment use it.
Otherwise, there will be complaints about misaligned
memory accesses. This is needed for GCC 5.1.
If that flag is not supported simply pass in -fsantize=undefined
and assume that it won't check for alignment violations (which
is true for GCC 4.9).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15351 a5019735-40e9-0310-863c-91ae7b9d1cf9
1 file changed