summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/gcc5_sanitize_tests.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-06-18 21:24:52 +0300
committerAndrei Karas <akaras@inbox.ru>2018-06-18 21:24:52 +0300
commitc29faaccaab1f4e662b176b4d5ab9fda8d8546a5 (patch)
tree727439b0e03da6f4b5ce11b2cf4c80c9e5a3bc11 /tools/ci/jobs/gcc5_sanitize_tests.sh
parent8950be6472a83942964e7f50be23381bf47cc4f3 (diff)
downloadmanaverse-c29faaccaab1f4e662b176b4d5ab9fda8d8546a5.tar.gz
manaverse-c29faaccaab1f4e662b176b4d5ab9fda8d8546a5.tar.bz2
manaverse-c29faaccaab1f4e662b176b4d5ab9fda8d8546a5.tar.xz
manaverse-c29faaccaab1f4e662b176b4d5ab9fda8d8546a5.zip
Add flag -D_GLIBCXX_SANITIZE_VECTOR into asan builds.
Diffstat (limited to 'tools/ci/jobs/gcc5_sanitize_tests.sh')
-rwxr-xr-xtools/ci/jobs/gcc5_sanitize_tests.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/ci/jobs/gcc5_sanitize_tests.sh b/tools/ci/jobs/gcc5_sanitize_tests.sh
index 35c671f21..24a2f7104 100755
--- a/tools/ci/jobs/gcc5_sanitize_tests.sh
+++ b/tools/ci/jobs/gcc5_sanitize_tests.sh
@@ -15,6 +15,7 @@ export LOGFILE=gcc5_tests.log
source ./tools/ci/scripts/init.sh
export CXXFLAGS="-ggdb3 -O2 -ffast-math \
+-D_GLIBCXX_SANITIZE_VECTOR \
-fsanitize=address -fsanitize=undefined \
-fsanitize=shift -fsanitize=integer-divide-by-zero -fsanitize=unreachable \
-fsanitize=vla-bound -fsanitize=null -fsanitize=return \