aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/bazel.rc3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/bazel.rc b/tools/bazel.rc
index 75be7c13df..59e597b472 100644
--- a/tools/bazel.rc
+++ b/tools/bazel.rc
@@ -37,7 +37,8 @@ build:tsan --copt=-fsanitize=thread
build:tsan --copt=-fno-omit-frame-pointer
build:tsan --copt=-DGPR_NO_DIRECT_SYSCALLS
build:tsan --copt=-DGRPC_TSAN
-build:tsan --copt=-DTHREAD_SANITIZER # used by absl
+# TODO(jtattermusch): ideally we would set --copt=-DTHREAD_SANITIZER (used by absl)
+# but it seems to do more harm than good and triggers #17175
build:tsan --linkopt=-fsanitize=thread
build:tsan --action_env=TSAN_OPTIONS=suppressions=test/core/util/tsan_suppressions.txt:halt_on_error=1:second_deadlock_stack=1