We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79aa718 commit fb560cfCopy full SHA for fb560cf
1 file changed
unittests/PhasarLLVM/DataFlowSolver/IfdsIde/CMakeLists.txt
@@ -15,7 +15,7 @@ set(ThreadedIfdsIdeSources
15
if(UNIX AND CMAKE_CXX_COMPILER_ID MATCHES "^(Apple)?Clang$")
16
# Only add thread sanitizer for the test if asan is disabled because both
17
# cannot be active at the same time.
18
- if (NOT "${LLVM_USE_SANITIZER}" MATCHES ".*Address.*")
+ if (NOT "${LLVM_USE_SANITIZER}" MATCHES ".*Address.*" AND NOT "${CMAKE_CXX_FLAGS}" MATCHES ".*address.*")
19
# Append -fno-omit-frame-pointer to get better stack traces.
20
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-omit-frame-pointer -fsanitize=thread")
21
endif()
0 commit comments