Add support for building with -fsanitize=undefined.
- add configure option --enable-ubsan 
- add __ubsan helpers (by Julian)

This requires gcc 4.9.2 or later. Not all platforms are supported, though.
With this change and VEX r3099 regression tests pass on amd64
with a valgrind compiled with -fsanitize=undefined.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14995 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/Makefile.all.am b/Makefile.all.am
index 3b2772a..860ef90 100644
--- a/Makefile.all.am
+++ b/Makefile.all.am
@@ -111,6 +111,7 @@
 	@FLAG_W_FORMAT@ \
 	@FLAG_W_FORMAT_SECURITY@ \
 	@FLAG_FNO_STACK_PROTECTOR@ \
+	@FLAG_FSANITIZE@ \
 	-fno-strict-aliasing \
 	-fno-builtin