mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Merge pull request #8182 from ClickHouse/aku/msan-exception
Suppress an msan false positive in exception handling.
This commit is contained in:
commit
575208c6e2
@ -23,7 +23,7 @@ if (SANITIZE)
|
|||||||
# RelWithDebInfo, and downgrade optimizations to -O1 but not to -Og, to
|
# RelWithDebInfo, and downgrade optimizations to -O1 but not to -Og, to
|
||||||
# keep the binary size down.
|
# keep the binary size down.
|
||||||
# TODO: try compiling with -Og and with ld.gold.
|
# TODO: try compiling with -Og and with ld.gold.
|
||||||
set (MSAN_FLAGS "-fsanitize=memory -fsanitize-memory-track-origins -fno-optimize-sibling-calls")
|
set (MSAN_FLAGS "-fsanitize=memory -fsanitize-memory-track-origins -fno-optimize-sibling-calls -fsanitize-blacklist=${CMAKE_SOURCE_DIR}/dbms/tests/msan_suppressions.txt")
|
||||||
|
|
||||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${SAN_FLAGS} ${MSAN_FLAGS}")
|
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${SAN_FLAGS} ${MSAN_FLAGS}")
|
||||||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${SAN_FLAGS} ${MSAN_FLAGS}")
|
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${SAN_FLAGS} ${MSAN_FLAGS}")
|
||||||
|
2
dbms/tests/msan_suppressions.txt
Normal file
2
dbms/tests/msan_suppressions.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# https://github.com/google/oss-fuzz/issues/1099
|
||||||
|
fun:__gxx_personality_*
|
Loading…
Reference in New Issue
Block a user