summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2015-11-16 13:55:19 +0000
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2015-11-16 13:55:19 +0000
commit2f7f5e3535589a6c83a579a2fd2debae1d83f3f4 (patch)
treed0ba09ec4b74e6016a6c1f847297abacadca8f4e /compiler-rt/test
parentbdf8751609b2ab4e3a65bc4afe4d15f5eb11460d (diff)
downloadbcm5719-llvm-2f7f5e3535589a6c83a579a2fd2debae1d83f3f4.tar.gz
bcm5719-llvm-2f7f5e3535589a6c83a579a2fd2debae1d83f3f4.zip
[compiler-rt] [tsan] Enable intercept setjmp/longjmp for AArch64
This patch adds assembly routines to enable setjmp/longjmp for aarch64 on linux. It fixes: * test/tsan/longjmp2.cc * test/tsan/longjmp3.cc * test/tsan/longjmp4.cc * test/tsan/signal_longjmp.cc I also checked with perlbench from specpu2006 (it fails to run with missing setjmp/longjmp intrumentation). llvm-svn: 253205
Diffstat (limited to 'compiler-rt/test')
-rw-r--r--compiler-rt/test/tsan/longjmp.cc3
-rw-r--r--compiler-rt/test/tsan/longjmp2.cc3
-rw-r--r--compiler-rt/test/tsan/longjmp3.cc3
-rw-r--r--compiler-rt/test/tsan/longjmp4.cc3
-rw-r--r--compiler-rt/test/tsan/signal_longjmp.cc3
5 files changed, 5 insertions, 10 deletions
diff --git a/compiler-rt/test/tsan/longjmp.cc b/compiler-rt/test/tsan/longjmp.cc
index 9ac6b99c2b5..d642067391f 100644
--- a/compiler-rt/test/tsan/longjmp.cc
+++ b/compiler-rt/test/tsan/longjmp.cc
@@ -1,8 +1,7 @@
// RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
-// Longjmp assembly has not been implemented for mips64 or aarch64 yet
+// Longjmp assembly has not been implemented for mips64 yet
// XFAIL: mips64
-// XFAIL: aarch64
#include <stdio.h>
#include <stdlib.h>
diff --git a/compiler-rt/test/tsan/longjmp2.cc b/compiler-rt/test/tsan/longjmp2.cc
index dfbd84b495f..eee423dc5fb 100644
--- a/compiler-rt/test/tsan/longjmp2.cc
+++ b/compiler-rt/test/tsan/longjmp2.cc
@@ -1,8 +1,7 @@
// RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
-// Longjmp assembly has not been implemented for mips64 or aarch64 yet
+// Longjmp assembly has not been implemented for mips64 yet
// XFAIL: mips64
-// XFAIL: aarch64
#include <stdio.h>
#include <stdlib.h>
diff --git a/compiler-rt/test/tsan/longjmp3.cc b/compiler-rt/test/tsan/longjmp3.cc
index df426fac286..79965c4193d 100644
--- a/compiler-rt/test/tsan/longjmp3.cc
+++ b/compiler-rt/test/tsan/longjmp3.cc
@@ -1,8 +1,7 @@
// RUN: %clang_tsan -O1 %s -o %t && %deflake %run %t | FileCheck %s
-// Longjmp assembly has not been implemented for mips64 or aarch64 yet
+// Longjmp assembly has not been implemented for mips64 yet
// XFAIL: mips64
-// XFAIL: aarch64
#include <pthread.h>
#include <stdio.h>
diff --git a/compiler-rt/test/tsan/longjmp4.cc b/compiler-rt/test/tsan/longjmp4.cc
index 9f5d6d1a833..c8583997331 100644
--- a/compiler-rt/test/tsan/longjmp4.cc
+++ b/compiler-rt/test/tsan/longjmp4.cc
@@ -1,8 +1,7 @@
// RUN: %clang_tsan -O1 %s -o %t && %deflake %run %t | FileCheck %s
-// Longjmp assembly has not been implemented for mips64 or aarch64 yet
+// Longjmp assembly has not been implemented for mips64 yet
// XFAIL: mips64
-// XFAIL: aarch64
#include <pthread.h>
#include <stdio.h>
diff --git a/compiler-rt/test/tsan/signal_longjmp.cc b/compiler-rt/test/tsan/signal_longjmp.cc
index c02917f49f1..2525c898887 100644
--- a/compiler-rt/test/tsan/signal_longjmp.cc
+++ b/compiler-rt/test/tsan/signal_longjmp.cc
@@ -3,9 +3,8 @@
// 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 or aarch64 yet
+// Longjmp assembly has not been implemented for mips64 yet
// XFAIL: mips64
-// XFAIL: aarch64
#include <setjmp.h>
#include <signal.h>
OpenPOWER on IntegriCloud