Remove obsolete TSan suppressions

This commit is contained in:
Alexey Milovidov 2020-05-11 10:05:46 +03:00
parent 06ba85fdf2
commit 99e64729bb
2 changed files with 5 additions and 7 deletions

View File

@ -36,8 +36,10 @@ if (SANITIZE)
endif () endif ()
elseif (SANITIZE STREQUAL "thread") elseif (SANITIZE STREQUAL "thread")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${SAN_FLAGS} -fsanitize=thread") set (TSAN_FLAGS "-fsanitize=thread -fsanitize-blacklist=${CMAKE_SOURCE_DIR}/tests/tsan_suppressions.txt")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${SAN_FLAGS} -fsanitize=thread")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${SAN_FLAGS} ${TSAN_FLAGS}")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${SAN_FLAGS} ${TSAN_FLAGS}")
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fsanitize=thread") set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fsanitize=thread")
endif() endif()

View File

@ -1,5 +1 @@
# libc++ # Fortunately, we have no suppressions!
race:locale
# Too many mutexes: https://github.com/google/sanitizers/issues/950
deadlock:DB::MergeTreeReadPool::fillPerPartInfo