summaryrefslogtreecommitdiff
path: root/tools/ci/branches
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/branches
parent8950be6472a83942964e7f50be23381bf47cc4f3 (diff)
downloadplus-c29faaccaab1f4e662b176b4d5ab9fda8d8546a5.tar.gz
plus-c29faaccaab1f4e662b176b4d5ab9fda8d8546a5.tar.bz2
plus-c29faaccaab1f4e662b176b4d5ab9fda8d8546a5.tar.xz
plus-c29faaccaab1f4e662b176b4d5ab9fda8d8546a5.zip
Add flag -D_GLIBCXX_SANITIZE_VECTOR into asan builds.
Diffstat (limited to 'tools/ci/branches')
-rw-r--r--tools/ci/branches/ci_gcc7_tests/.gitlab-ci.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/ci/branches/ci_gcc7_tests/.gitlab-ci.yml b/tools/ci/branches/ci_gcc7_tests/.gitlab-ci.yml
index a2e41fb34..e73ac0229 100644
--- a/tools/ci/branches/ci_gcc7_tests/.gitlab-ci.yml
+++ b/tools/ci/branches/ci_gcc7_tests/.gitlab-ci.yml
@@ -225,7 +225,8 @@ gcc-7_separate_doctest_sanitize:
<<: *job-push
variables:
LSAN_OPTIONS: "suppressions=./tools/ci/scripts/lsansuppression_tests.txt"
- POST_CXXFLAGS: "-fsanitize=address -fsanitize=undefined
+ POST_CXXFLAGS: "-D_GLIBCXX_SANITIZE_VECTOR
+ -fsanitize=address -fsanitize=undefined
-fsanitize=shift -fsanitize=integer-divide-by-zero -fsanitize=unreachable
-fsanitize=vla-bound -fsanitize=null -fsanitize=return
-fsanitize=signed-integer-overflow -fsanitize=bounds -fsanitize=alignment
@@ -249,7 +250,8 @@ gcc-7_separate_doctest_sanitize_sdl2:
<<: *job-push
variables:
LSAN_OPTIONS: "suppressions=./tools/ci/scripts/lsansuppression_tests.txt"
- POST_CXXFLAGS: "-fsanitize=address -fsanitize=undefined
+ POST_CXXFLAGS: "-D_GLIBCXX_SANITIZE_VECTOR
+ -fsanitize=address -fsanitize=undefined
-fsanitize=shift -fsanitize=integer-divide-by-zero -fsanitize=unreachable
-fsanitize=vla-bound -fsanitize=null -fsanitize=return
-fsanitize=signed-integer-overflow -fsanitize=bounds -fsanitize=alignment