commit | 3878e166cefcbad5f94ceefdc8450d83eec2aa64 | [log] [tgz] |
---|---|---|
author | florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Tue Jun 23 20:31:52 2015 +0000 |
committer | florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Tue Jun 23 20:31:52 2015 +0000 |
tree | d146c8cd0140490330cf78275eab9481aaa2d609 | |
parent | 47a17e8bf69014324022e48d8b4cbe48e0d241d4 [diff] |
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