aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2018-11-14 17:21:24 +0100
committerGravatar Jan Tattermusch <jtattermusch@google.com>2018-11-14 17:24:58 +0100
commit310e1b07a7508ea364e70bd776e3fa635b8c6aa2 (patch)
tree7c700898f4155b2381c3a0ab33abfcc62dfec3a3 /tools
parentdb2f88ae0feb12cbe5ce705b0b3fdfde80a26610 (diff)
adding THREAD_SANITIZER define seems to trigger #17175
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