summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/gccsnapshot_sanitize_tests.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-30 20:52:41 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-30 20:52:41 +0300
commit589d1ee605523be9dcdde77ddf1780cd5ee1a151 (patch)
tree50aa019788f8939598e420e5284528b3a1221d73 /tools/ci/jobs/gccsnapshot_sanitize_tests.sh
parentb35d3023119faaa4503e13fd3e8632df4374c83b (diff)
downloadmv-589d1ee605523be9dcdde77ddf1780cd5ee1a151.tar.gz
mv-589d1ee605523be9dcdde77ddf1780cd5ee1a151.tar.bz2
mv-589d1ee605523be9dcdde77ddf1780cd5ee1a151.tar.xz
mv-589d1ee605523be9dcdde77ddf1780cd5ee1a151.zip
Add additional sanitize flags into gcc-7 / gcc-snapshot builds.
Diffstat (limited to 'tools/ci/jobs/gccsnapshot_sanitize_tests.sh')
-rwxr-xr-xtools/ci/jobs/gccsnapshot_sanitize_tests.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/ci/jobs/gccsnapshot_sanitize_tests.sh b/tools/ci/jobs/gccsnapshot_sanitize_tests.sh
index d3da359c4..5b0b3bb31 100755
--- a/tools/ci/jobs/gccsnapshot_sanitize_tests.sh
+++ b/tools/ci/jobs/gccsnapshot_sanitize_tests.sh
@@ -29,6 +29,10 @@ export CXXFLAGS="$CXXFLAGS -pedantic -ggdb3 -O2 -Wstrict-aliasing=2 \
-fsanitize=object-size -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow \
-fsanitize=nonnull-attribute -fsanitize=returns-nonnull-attribute -fsanitize=bool \
-fsanitize=enum -fsanitize=vptr -fsanitize=bounds-strict \
+-fsanitize=pointer-compare -fsanitize=pointer-subtract -fsanitize=leak \
+-fsanitize=shift-exponent -fsanitize=shift-base -fsanitize=bounds-strict \
+-fsanitize=pointer-overflow -fsanitize=builtin \
+-fsanitize-address-use-after-scope \
-std=gnu++1z -Wformat=1 \
-Wno-attributes"