Merge branch 'master' into run-release-ci-in-mgbuild
This commit is contained in:
commit
7339707ab7
@ -337,6 +337,8 @@ if (ASAN)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (TSAN)
|
if (TSAN)
|
||||||
|
message(WARNING "Disabling jemalloc as it doesn't work well with ASAN")
|
||||||
|
set(ENABLE_JEMALLOC OFF)
|
||||||
# ThreadSanitizer generally requires all code to be compiled with -fsanitize=thread.
|
# ThreadSanitizer generally requires all code to be compiled with -fsanitize=thread.
|
||||||
# If some code (e.g. dynamic libraries) is not compiled with the flag, it can
|
# If some code (e.g. dynamic libraries) is not compiled with the flag, it can
|
||||||
# lead to false positive race reports, false negative race reports and/or
|
# lead to false positive race reports, false negative race reports and/or
|
||||||
@ -352,7 +354,7 @@ if (TSAN)
|
|||||||
# By default ThreadSanitizer uses addr2line utility to symbolize reports.
|
# By default ThreadSanitizer uses addr2line utility to symbolize reports.
|
||||||
# llvm-symbolizer is faster, consumes less memory and produces much better
|
# llvm-symbolizer is faster, consumes less memory and produces much better
|
||||||
# reports. To use it set runtime flag:
|
# reports. To use it set runtime flag:
|
||||||
# TSAN_OPTIONS="extern-symbolizer-path=~/llvm-symbolizer"
|
# TSAN_OPTIONS="extern-symbolizer-path=~/llvm-symbolizer"
|
||||||
# For more runtime flags see: https://github.com/google/sanitizers/wiki/ThreadSanitizerFlags
|
# For more runtime flags see: https://github.com/google/sanitizers/wiki/ThreadSanitizerFlags
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user