diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-30 21:06:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-30 21:07:05 +0300 |
commit | 2995dcbc7df3cf271fb3f8991d64a8e1b6be43d1 (patch) | |
tree | 4565e1a5dcf929f8edae04e09a728b1f6b72d6e1 | |
parent | a52d8049be0399eb6da86b68c3b7e48575f31da8 (diff) | |
download | mv-2995dcbc7df3cf271fb3f8991d64a8e1b6be43d1.tar.gz mv-2995dcbc7df3cf271fb3f8991d64a8e1b6be43d1.tar.bz2 mv-2995dcbc7df3cf271fb3f8991d64a8e1b6be43d1.tar.xz mv-2995dcbc7df3cf271fb3f8991d64a8e1b6be43d1.zip |
Add extra runtime checks into gcc-7 sanitize builds.
-rwxr-xr-x | tools/ci/jobs/gcc7_sanitize.sh | 1 | ||||
-rwxr-xr-x | tools/ci/jobs/gcc7_sanitize_tests.sh | 2 |
2 files changed, 2 insertions, 1 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 diff --git a/tools/ci/jobs/gcc7_sanitize_tests.sh b/tools/ci/jobs/gcc7_sanitize_tests.sh index 1bf08aa6d..c1ec28c92 100755 --- a/tools/ci/jobs/gcc7_sanitize_tests.sh +++ b/tools/ci/jobs/gcc7_sanitize_tests.sh @@ -38,7 +38,7 @@ export CXXFLAGS="$CXXFLAGS $POST_CXXFLAGS" do_init run_configure --enable-unittests=yes $* export SDL_VIDEODRIVER=dummy -export ASAN_OPTIONS=detect_leaks=0:detect_stack_use_after_return=true:strict_init_order=true +export ASAN_OPTIONS=detect_leaks=0:detect_stack_use_after_return=true:strict_init_order=true:detect_invalid_pointer_pairs=1 export LSAN_OPTIONS=suppressions=$(pwd)/tools/ci/scripts/lsansuppression_tests.txt run_make_check |