[compiler-rt] r261986 - [TSAN] XFAIL race_on_mutex.cc for MIPS

Sagar Thakur via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 25 23:01:24 PST 2016


Author: slthakur
Date: Fri Feb 26 01:01:24 2016
New Revision: 261986

URL: http://llvm.org/viewvc/llvm-project?rev=261986&view=rev
Log:
[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


Modified:
    compiler-rt/trunk/test/tsan/race_on_mutex.c

Modified: compiler-rt/trunk/test/tsan/race_on_mutex.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/race_on_mutex.c?rev=261986&r1=261985&r2=261986&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/race_on_mutex.c (original)
+++ compiler-rt/trunk/test/tsan/race_on_mutex.c Fri Feb 26 01:01:24 2016
@@ -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;




More information about the llvm-commits mailing list