From 93af795aaf20c0936e59c88237cab850f5fcfb9b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 6 May 2018 00:18:16 +0300 Subject: Add new asan flags into gcc-8 ci scripts. --- tools/ci/jobs/gcc8_sanitize.sh | 1 + tools/ci/jobs/gcc8_sanitize_tests.sh | 1 + 2 files changed, 2 insertions(+) (limited to 'tools/ci/jobs') diff --git a/tools/ci/jobs/gcc8_sanitize.sh b/tools/ci/jobs/gcc8_sanitize.sh index dca481380..2c9434e94 100755 --- a/tools/ci/jobs/gcc8_sanitize.sh +++ b/tools/ci/jobs/gcc8_sanitize.sh @@ -26,6 +26,7 @@ export CXXFLAGS="$CXXFLAGS -pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \ -fsanitize=leak \ -fsanitize=shift-exponent -fsanitize=shift-base -fsanitize=bounds-strict \ -fsanitize-address-use-after-scope \ +-fsanitize=pointer-compare -fsanitize=pointer-subtract -fsanitize=builtin -fsanitize=pointer-overflow \ -std=gnu++2a -Wformat=1 \ -Wno-attributes -fno-omit-frame-pointer" diff --git a/tools/ci/jobs/gcc8_sanitize_tests.sh b/tools/ci/jobs/gcc8_sanitize_tests.sh index 7bd2002f8..991052a5b 100755 --- a/tools/ci/jobs/gcc8_sanitize_tests.sh +++ b/tools/ci/jobs/gcc8_sanitize_tests.sh @@ -27,6 +27,7 @@ export CXXFLAGS="$CXXFLAGS -pedantic -ggdb3 -O2 -Wstrict-aliasing=2 \ -fsanitize=leak \ -fsanitize=shift-exponent -fsanitize=shift-base -fsanitize=bounds-strict \ -fsanitize-address-use-after-scope \ +-fsanitize=pointer-compare -fsanitize=pointer-subtract -fsanitize=builtin -fsanitize=pointer-overflow \ -std=gnu++2a -Wformat=1 \ -Wno-attributes" -- cgit v1.2.3-70-g09d2