[PATCH] [TSan][MIPS] XFAIL long jump tests for MIPS64

Sagar Thakur Sagar.Thakur at imgtec.com
Wed May 6 05:40:18 PDT 2015


Hi dvyukov, samsonov, dsanders,

Mark longjmp tests as XFAIL because longjmp assembly for mips is not yet implemented.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D9526

Files:
  test/tsan/longjmp.cc
  test/tsan/longjmp2.cc
  test/tsan/longjmp3.cc
  test/tsan/longjmp4.cc
  test/tsan/signal_longjmp.cc

Index: test/tsan/longjmp.cc
===================================================================
--- test/tsan/longjmp.cc
+++ test/tsan/longjmp.cc
@@ -1,4 +1,8 @@
 // RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
+
+// Longjmp assembly has not been implemented for mips64 yet
+// XFAIL: mips64
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <setjmp.h>
Index: test/tsan/longjmp2.cc
===================================================================
--- test/tsan/longjmp2.cc
+++ test/tsan/longjmp2.cc
@@ -1,4 +1,8 @@
 // RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
+
+// Longjmp assembly has not been implemented for mips64 yet
+// XFAIL: mips64
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <setjmp.h>
Index: test/tsan/longjmp3.cc
===================================================================
--- test/tsan/longjmp3.cc
+++ test/tsan/longjmp3.cc
@@ -1,4 +1,8 @@
 // RUN: %clang_tsan -O1 %s -o %t && %deflake %run %t | FileCheck %s
+
+// Longjmp assembly has not been implemented for mips64 yet
+// XFAIL: mips64
+
 #include <pthread.h>
 #include <stdio.h>
 #include <stdlib.h>
Index: test/tsan/longjmp4.cc
===================================================================
--- test/tsan/longjmp4.cc
+++ test/tsan/longjmp4.cc
@@ -1,4 +1,8 @@
 // RUN: %clang_tsan -O1 %s -o %t && %deflake %run %t | FileCheck %s
+
+// Longjmp assembly has not been implemented for mips64 yet
+// XFAIL: mips64
+
 #include <pthread.h>
 #include <stdio.h>
 #include <stdlib.h>
Index: test/tsan/signal_longjmp.cc
===================================================================
--- test/tsan/signal_longjmp.cc
+++ test/tsan/signal_longjmp.cc
@@ -3,6 +3,9 @@
 // Test case for longjumping out of signal handler:
 // https://code.google.com/p/thread-sanitizer/issues/detail?id=75
 
+// Longjmp assembly has not been implemented for mips64 yet
+// XFAIL: mips64
+
 #include <setjmp.h>
 #include <signal.h>
 #include <stdlib.h>

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9526.25041.patch
Type: text/x-patch
Size: 1956 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150506/bbf769fc/attachment.bin>


More information about the llvm-commits mailing list