summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/gcc7_sanitize.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-30 21:06:19 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-30 21:06:19 +0300
commitdbf98a64720bd05c5c6ad41e50a555ef5aa62571 (patch)
treee228f8a9478ec2092461259df29e7f0004d95887 /tools/ci/jobs/gcc7_sanitize.sh
parent589d1ee605523be9dcdde77ddf1780cd5ee1a151 (diff)
downloadmv-dbf98a64720bd05c5c6ad41e50a555ef5aa62571.tar.gz
mv-dbf98a64720bd05c5c6ad41e50a555ef5aa62571.tar.bz2
mv-dbf98a64720bd05c5c6ad41e50a555ef5aa62571.tar.xz
mv-dbf98a64720bd05c5c6ad41e50a555ef5aa62571.zip
Add extra runtime checks into gcc-7 sanitize builds.
Diffstat (limited to 'tools/ci/jobs/gcc7_sanitize.sh')
-rwxr-xr-xtools/ci/jobs/gcc7_sanitize.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/ci/jobs/gcc7_sanitize.sh b/tools/ci/jobs/gcc7_sanitize.sh
index eba105111..a6445d90e 100755
--- a/tools/ci/jobs/gcc7_sanitize.sh
+++ b/tools/ci/jobs/gcc7_sanitize.sh
@@ -36,6 +36,7 @@ export CXXFLAGS="$CXXFLAGS $POST_CXXFLAGS"
do_init
run_configure --enable-werror $*
+export ASAN_OPTIONS=detect_stack_use_after_return=true:strict_init_order=true:detect_invalid_pointer_pairs=1
run_make
source ./tools/ci/scripts/exit.sh