summaryrefslogtreecommitdiff
path: root/.circleci/cmake-asan
diff options
context:
space:
mode:
Diffstat (limited to '.circleci/cmake-asan')
-rwxr-xr-x.circleci/cmake-asan2
1 files changed, 2 insertions, 0 deletions
diff --git a/.circleci/cmake-asan b/.circleci/cmake-asan
index c4bce4fc..0d796aba 100755
--- a/.circleci/cmake-asan
+++ b/.circleci/cmake-asan
@@ -7,6 +7,7 @@ CACHEDIR="$HOME/cache"
7. ".travis/flags-$CC.sh" 7. ".travis/flags-$CC.sh"
8add_flag -Werror 8add_flag -Werror
9add_flag -fdiagnostics-color=always 9add_flag -fdiagnostics-color=always
10add_flag -fno-omit-frame-pointer
10add_flag -fsanitize=address,undefined 11add_flag -fsanitize=address,undefined
11cmake -B_build -H. -GNinja \ 12cmake -B_build -H. -GNinja \
12 -DCMAKE_C_FLAGS="$C_FLAGS" \ 13 -DCMAKE_C_FLAGS="$C_FLAGS" \
@@ -29,5 +30,6 @@ export ASAN_OPTIONS="detect_invalid_pointer_pairs=1"
29export ASAN_OPTIONS="$ASAN_OPTIONS,detect_stack_use_after_return=1" 30export ASAN_OPTIONS="$ASAN_OPTIONS,detect_stack_use_after_return=1"
30export ASAN_OPTIONS="$ASAN_OPTIONS,strict_init_order=1" 31export ASAN_OPTIONS="$ASAN_OPTIONS,strict_init_order=1"
31export ASAN_OPTIONS="$ASAN_OPTIONS,strict_string_checks=1" 32export ASAN_OPTIONS="$ASAN_OPTIONS,strict_string_checks=1"
33export ASAN_OPTIONS="$ASAN_OPTIONS,symbolize=1"
32ctest -j50 --output-on-failure || 34ctest -j50 --output-on-failure ||
33ctest -j50 --output-on-failure --rerun-failed 35ctest -j50 --output-on-failure --rerun-failed