|
|
|
@ -111,7 +111,6 @@ LDXX_helgrind = $(DEFAULT_CXX) |
|
|
|
|
CPPFLAGS_helgrind = -O0
|
|
|
|
|
LDFLAGS_helgrind = -rdynamic
|
|
|
|
|
DEFINES_helgrind = _DEBUG DEBUG
|
|
|
|
|
DEFINES_helgrind += GRPC_TEST_SLOWDOWN_BUILD_FACTOR=20
|
|
|
|
|
|
|
|
|
|
VALID_CONFIG_asan-noleaks = 1
|
|
|
|
|
REQUIRE_CUSTOM_LIBRARIES_asan-noleaks = 1
|
|
|
|
@ -121,7 +120,6 @@ LD_asan-noleaks = clang |
|
|
|
|
LDXX_asan-noleaks = clang++
|
|
|
|
|
CPPFLAGS_asan-noleaks = -O0 -fsanitize-coverage=edge -fsanitize=address -fno-omit-frame-pointer -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS
|
|
|
|
|
LDFLAGS_asan-noleaks = -fsanitize=address
|
|
|
|
|
DEFINES_asan-noleaks += GRPC_TEST_SLOWDOWN_BUILD_FACTOR=3
|
|
|
|
|
|
|
|
|
|
VALID_CONFIG_asan-trace-cmp = 1
|
|
|
|
|
REQUIRE_CUSTOM_LIBRARIES_asan-trace-cmp = 1
|
|
|
|
@ -131,7 +129,6 @@ LD_asan-trace-cmp = clang |
|
|
|
|
LDXX_asan-trace-cmp = clang++
|
|
|
|
|
CPPFLAGS_asan-trace-cmp = -O0 -fsanitize-coverage=edge -fsanitize-coverage=trace-cmp -fsanitize=address -fno-omit-frame-pointer -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS
|
|
|
|
|
LDFLAGS_asan-trace-cmp = -fsanitize=address
|
|
|
|
|
DEFINES_asan-trace-cmp += GRPC_TEST_SLOWDOWN_BUILD_FACTOR=3
|
|
|
|
|
|
|
|
|
|
VALID_CONFIG_dbg = 1
|
|
|
|
|
CC_dbg = $(DEFAULT_CC)
|
|
|
|
@ -166,7 +163,6 @@ LDXX_memcheck = $(DEFAULT_CXX) |
|
|
|
|
CPPFLAGS_memcheck = -O0
|
|
|
|
|
LDFLAGS_memcheck = -rdynamic
|
|
|
|
|
DEFINES_memcheck = _DEBUG DEBUG
|
|
|
|
|
DEFINES_memcheck += GRPC_TEST_SLOWDOWN_BUILD_FACTOR=10
|
|
|
|
|
|
|
|
|
|
VALID_CONFIG_asan = 1
|
|
|
|
|
REQUIRE_CUSTOM_LIBRARIES_asan = 1
|
|
|
|
@ -176,7 +172,6 @@ LD_asan = clang |
|
|
|
|
LDXX_asan = clang++
|
|
|
|
|
CPPFLAGS_asan = -O0 -fsanitize-coverage=edge -fsanitize=address -fno-omit-frame-pointer -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS
|
|
|
|
|
LDFLAGS_asan = -fsanitize=address
|
|
|
|
|
DEFINES_asan += GRPC_TEST_SLOWDOWN_BUILD_FACTOR=3
|
|
|
|
|
|
|
|
|
|
VALID_CONFIG_tsan = 1
|
|
|
|
|
REQUIRE_CUSTOM_LIBRARIES_tsan = 1
|
|
|
|
@ -187,7 +182,6 @@ LDXX_tsan = clang++ |
|
|
|
|
CPPFLAGS_tsan = -O0 -fsanitize=thread -fno-omit-frame-pointer -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS
|
|
|
|
|
LDFLAGS_tsan = -fsanitize=thread
|
|
|
|
|
DEFINES_tsan = GRPC_TSAN
|
|
|
|
|
DEFINES_tsan += GRPC_TEST_SLOWDOWN_BUILD_FACTOR=5
|
|
|
|
|
|
|
|
|
|
VALID_CONFIG_ubsan = 1
|
|
|
|
|
REQUIRE_CUSTOM_LIBRARIES_ubsan = 1
|
|
|
|
@ -198,7 +192,6 @@ LDXX_ubsan = clang++ |
|
|
|
|
CPPFLAGS_ubsan = -O0 -fsanitize-coverage=edge -fsanitize=undefined,unsigned-integer-overflow -fno-omit-frame-pointer -Wno-unused-command-line-argument -Wvarargs
|
|
|
|
|
LDFLAGS_ubsan = -fsanitize=undefined,unsigned-integer-overflow
|
|
|
|
|
DEFINES_ubsan = NDEBUG
|
|
|
|
|
DEFINES_ubsan += GRPC_TEST_SLOWDOWN_BUILD_FACTOR=1.5
|
|
|
|
|
|
|
|
|
|
VALID_CONFIG_msan = 1
|
|
|
|
|
REQUIRE_CUSTOM_LIBRARIES_msan = 1
|
|
|
|
@ -209,7 +202,6 @@ LDXX_msan = clang++ |
|
|
|
|
CPPFLAGS_msan = -O0 -fsanitize-coverage=edge -fsanitize=memory -fsanitize-memory-track-origins -fno-omit-frame-pointer -DGTEST_HAS_TR1_TUPLE=0 -DGTEST_USE_OWN_TR1_TUPLE=1 -Wno-unused-command-line-argument -fPIE -pie -DGPR_NO_DIRECT_SYSCALLS
|
|
|
|
|
LDFLAGS_msan = -fsanitize=memory -DGTEST_HAS_TR1_TUPLE=0 -DGTEST_USE_OWN_TR1_TUPLE=1 -fPIE -pie $(if $(JENKINS_BUILD),-Wl$(comma)-Ttext-segment=0x7e0000000000,)
|
|
|
|
|
DEFINES_msan = NDEBUG
|
|
|
|
|
DEFINES_msan += GRPC_TEST_SLOWDOWN_BUILD_FACTOR=4
|
|
|
|
|
|
|
|
|
|
VALID_CONFIG_mutrace = 1
|
|
|
|
|
CC_mutrace = $(DEFAULT_CC)
|
|
|
|
|