Skip to content

Commit d0c138e

Browse files
committed
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
1 parent c7081b5 commit d0c138e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

compiler-rt/test/tsan/bench_threads.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
// bench.h needs pthread barriers which are not available on OS X
55
// UNSUPPORTED: darwin
66

7+
// aarch64 fails with:
8+
// CHECK failed: tsan_rtl.cpp:327 "((addr + size)) <= ((TraceMemEnd()))"
9+
// TODO: try to re-enable when D112603 is landed.
10+
// XFAIL: aarch64
11+
712
#include "bench.h"
813

914
void *nop_thread(void *arg) {

0 commit comments

Comments
 (0)