diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-06-18 21:24:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-06-18 21:24:52 +0300 |
commit | c29faaccaab1f4e662b176b4d5ab9fda8d8546a5 (patch) | |
tree | 727439b0e03da6f4b5ce11b2cf4c80c9e5a3bc11 /tools/ci/jobs/gcc7_sanitize_tests.sh | |
parent | 8950be6472a83942964e7f50be23381bf47cc4f3 (diff) | |
download | plus-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/jobs/gcc7_sanitize_tests.sh')
-rwxr-xr-x | tools/ci/jobs/gcc7_sanitize_tests.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/ci/jobs/gcc7_sanitize_tests.sh b/tools/ci/jobs/gcc7_sanitize_tests.sh index 62c1ddc2d..30d596005 100755 --- a/tools/ci/jobs/gcc7_sanitize_tests.sh +++ b/tools/ci/jobs/gcc7_sanitize_tests.sh @@ -15,6 +15,7 @@ export LOGFILE=gcc7.log source ./tools/ci/scripts/init.sh export CXXFLAGS="$CXXFLAGS -pedantic -ggdb3 -O2 -Wstrict-aliasing=2 \ +-D_GLIBCXX_SANITIZE_VECTOR \ -Wstrict-overflow=1 -Wformat=1 -D_FORTIFY_SOURCE=2 \ -fno-omit-frame-pointer \ -fsanitize=address -fsanitize=undefined \ |