summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSagar Thakur <sagar.thakur@imgtec.com>2016-02-26 07:01:24 +0000
committerSagar Thakur <sagar.thakur@imgtec.com>2016-02-26 07:01:24 +0000
commitce63c2053d5ff8f67b5bdaf4aea6446315830f1f (patch)
treee0ea75d50a31f2ddee2fd5893f753764c94002b6
parentc929349912754b0e052e867fc4a923e035836ba2 (diff)
downloadbcm5719-llvm-ce63c2053d5ff8f67b5bdaf4aea6446315830f1f.tar.gz
bcm5719-llvm-ce63c2053d5ff8f67b5bdaf4aea6446315830f1f.zip
[TSAN] XFAIL race_on_mutex.cc for MIPS
This test expects pthread_mutex_init in the frame #0 of thread T1 but we get memset at frame #0 because memset that is called from pthread_init_mutex is being intercepted by TSan llvm-svn: 261986
-rw-r--r--compiler-rt/test/tsan/race_on_mutex.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/test/tsan/race_on_mutex.c b/compiler-rt/test/tsan/race_on_mutex.c
index 8ac9481ef02..16374835dca 100644
--- a/compiler-rt/test/tsan/race_on_mutex.c
+++ b/compiler-rt/test/tsan/race_on_mutex.c
@@ -2,6 +2,10 @@
// This test fails when run on powerpc64 (VMA=46).
// The size of the write reported by Tsan for T1 is 8 instead of 1.
// XFAIL: powerpc64
+// This test expects pthread_mutex_init in the frame #0 of thread T1 but we
+// get memset at frame #0 because memset that is called from pthread_init_mutex
+// is being intercepted by TSan
+// XFAIL: mips64
#include "test.h"
pthread_mutex_t Mtx;
OpenPOWER on IntegriCloud