[postgis-tickets] r17054 - Travis: Run CI under clang's ubsan
Raul
raul at rmr.ninja
Thu Nov 22 07:19:44 PST 2018
Author: algunenano
Date: 2018-11-22 07:19:44 -0800 (Thu, 22 Nov 2018)
New Revision: 17054
Modified:
trunk/.travis.yml
trunk/ci/travis/run_usan_gcc.sh
Log:
Travis: Run CI under clang's ubsan
References #4244
Closes https://github.com/postgis/postgis/pull/337
Modified: trunk/.travis.yml
===================================================================
--- trunk/.travis.yml 2018-11-22 13:44:47 UTC (rev 17053)
+++ trunk/.travis.yml 2018-11-22 15:19:44 UTC (rev 17054)
@@ -9,6 +9,7 @@
- tag=pg11-geos37-gdal23-proj52 mode=debug
- tag=pg11-geos37-gdal23-proj52 mode=coverage
- tag=pg11-geos37-gdal23-proj52 mode=usan_gcc
+ - tag=pg11-geos37-gdal23-proj52 mode=usan_clang
- tag=pg11-geos37-gdal23-proj52 mode=tests
- tag=pg10-geos36-gdal23-proj49 mode=tests
- tag=pg96-geos36-gdal22-proj49 mode=tests
Modified: trunk/ci/travis/run_usan_gcc.sh
===================================================================
--- trunk/ci/travis/run_usan_gcc.sh 2018-11-22 13:44:47 UTC (rev 17053)
+++ trunk/ci/travis/run_usan_gcc.sh 2018-11-22 15:19:44 UTC (rev 17054)
@@ -2,7 +2,7 @@
set -e
# Enable undefined behaviour sanitizer using traps to
-CFLAGS_STD="-g -O2 -mtune=generic -fno-omit-frame-pointer -fsanitize=undefined -fsanitize-undefined-trap-on-error"
+CFLAGS_STD="-g3 -O0 -mtune=generic -fno-omit-frame-pointer -fsanitize=undefined -fsanitize-undefined-trap-on-error"
LDFLAGS_STD="-Wl,-Bsymbolic-functions -Wl,-z,relro"
/usr/local/pgsql/bin/pg_ctl -c -l /tmp/logfile start
More information about the postgis-tickets
mailing list