aboutsummaryrefslogtreecommitdiff
path: root/compiler-rt/test/tsan/bench_threads.cpp
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2021-11-16 14:45:07 +0100
committerDmitry Vyukov <dvyukov@google.com>2021-11-16 16:53:04 +0100
commitd0c138ec8aa47ec2acb38dba247f537ca470618f (patch)
tree12bb706b912a9d7b0281fc479ca3ff0973fd40ad /compiler-rt/test/tsan/bench_threads.cpp
parentc7081b5b4cb57f27e6a075e1b5a63b7951cd8a7a (diff)
downloadllvm-d0c138ec8aa47ec2acb38dba247f537ca470618f.zip
llvm-d0c138ec8aa47ec2acb38dba247f537ca470618f.tar.gz
llvm-d0c138ec8aa47ec2acb38dba247f537ca470618f.tar.bz2
tsan: disable bench_threads.cpp on aarch64
The new test started failing on bots with: CHECK failed: tsan_rtl.cpp:327 "((addr + size)) <= ((TraceMemEnd()))" (0xf06200e03010, 0xf06200000000) (tid=4073872) https://lab.llvm.org/buildbot#builders/179/builds/1761 This is a latent bug in aarch64 virtual address space layout, there is not enough address space to fit traces for all threads. But since the trace space is going away with the new tsan runtime (D112603), disable the test. Reviewed By: melver Differential Revision: https://reviews.llvm.org/D113990
Diffstat (limited to 'compiler-rt/test/tsan/bench_threads.cpp')
-rw-r--r--compiler-rt/test/tsan/bench_threads.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler-rt/test/tsan/bench_threads.cpp b/compiler-rt/test/tsan/bench_threads.cpp
index 1d0be21..d0ba42e 100644
--- a/compiler-rt/test/tsan/bench_threads.cpp
+++ b/compiler-rt/test/tsan/bench_threads.cpp
@@ -4,6 +4,11 @@
// bench.h needs pthread barriers which are not available on OS X
// UNSUPPORTED: darwin
+// aarch64 fails with:
+// CHECK failed: tsan_rtl.cpp:327 "((addr + size)) <= ((TraceMemEnd()))"
+// TODO: try to re-enable when D112603 is landed.
+// XFAIL: aarch64
+
#include "bench.h"
void *nop_thread(void *arg) {