aboutsummaryrefslogtreecommitdiff
path: root/gdb/sanitize.m4
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-10-09 11:51:33 -0600
committerTom Tromey <tom@tromey.com>2018-10-09 11:51:33 -0600
commiteff98030f90d3dab4c7d133ab0b0cb02d1921543 (patch)
treecb4c841af76767a4c3de8ed1027127b1fbbd3f56 /gdb/sanitize.m4
parent104fefeebb544b7745bb353b63110afa46119647 (diff)
downloadgdb-eff98030f90d3dab4c7d133ab0b0cb02d1921543.zip
gdb-eff98030f90d3dab4c7d133ab0b0cb02d1921543.tar.gz
gdb-eff98030f90d3dab4c7d133ab0b0cb02d1921543.tar.bz2
Disable the undefined behavior sanitizer by default
There have been a few undefined behavior failures reported, and Pedro suggested that the sanitizer be disabled by default. This patch implements this. gdb/ChangeLog 2018-10-09 Tom Tromey <tom@tromey.com> * configure: Rebuild. * sanitize.m4 (AM_GDB_UBSAN): Default to no. * NEWS: Update --enable-ubsan documentation. gdb/doc/ChangeLog 2018-10-09 Tom Tromey <tom@tromey.com> * gdb.texinfo (Configure Options): Update --enable-ubsan documentation.
Diffstat (limited to 'gdb/sanitize.m4')
-rw-r--r--gdb/sanitize.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sanitize.m4 b/gdb/sanitize.m4
index 76df44d..979f646 100644
--- a/gdb/sanitize.m4
+++ b/gdb/sanitize.m4
@@ -20,7 +20,7 @@ AC_DEFUN([AM_GDB_UBSAN],[
AC_ARG_ENABLE(ubsan,
AS_HELP_STRING([--enable-ubsan],
[enable undefined behavior sanitizer (auto/yes/no)]),
- [],enable_ubsan=auto)
+ [],enable_ubsan=no)
if test "x$enable_ubsan" = xauto; then
if $development; then
enable_ubsan=yes