From 5d07ce6e1284b9ec15be3af866b419ffe1567af8 Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Sun, 8 Oct 2017 07:10:13 +0100 Subject: [PATCH] Improve ASAN settings --- .circleci/config.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f1cfb8ce..990c5572 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -351,9 +351,10 @@ jobs: CXX: clang++-5.0 BUILD_TOOLSET: clang APT_COMPILER_PACKAGE: clang-5.0 - CXXFLAGS: "-O2 -fsanitize=address -fno-omit-frame-pointer -fsanitize-address-use-after-scope" + CXXFLAGS: "-O2 -fsanitize=address -fno-omit-frame-pointer -fno-common -fsanitize-address-use-after-scope" BUILD_TYPE: "Debug" - ASAN_OPTIONS: "check_initialization_order=1 detect_leaks=1 detect_stack_use_after_return=1" + # Note: Leak detection is disabled because libfuse itself is leaky... + ASAN_OPTIONS: "detect_leaks=0 check_initialization_order=1 detect_stack_use_after_return=1 detect_invalid_pointer_pairs=1 atexit=1" workflows: version: 2