diff options
author | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2015-12-08 21:54:39 +0000 |
---|---|---|
committer | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2015-12-08 21:54:39 +0000 |
commit | 686cdf076959ee468a6777e9bed157291dc8445a (patch) | |
tree | 5e429770241a69d0b39d84e46e67ad1ff1ae1518 /test/tsan/signal_longjmp.cc | |
parent | 1f3b4537c406d7dca8b1c43b6dee5e0eaa9148d8 (diff) |
[PPC64, TSAN] LLVM basic enablement of thread sanitizer for PPC64 (BE and LE)
This patch is by Simone Atzeni with portions by Adhemerval Zanella.
This contains the LLVM patches to enable the thread sanitizer for
PPC64, both big- and little-endian. Two different virtual memory
sizes are supported: Old kernels use a 44-bit address space, while
newer kernels require a 46-bit address space.
There are two companion patches that will be added shortly. There is
a Clang patch to actually turn on the use of the thread sanitizer for
PPC64. There is also a patch that I wrote to provide interceptor
support for setjmp/longjmp on PPC64.
Patch discussion at reviews.llvm.org/D12841.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@255057 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan/signal_longjmp.cc')
-rw-r--r-- | test/tsan/signal_longjmp.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/tsan/signal_longjmp.cc b/test/tsan/signal_longjmp.cc index 556928ae9..fb4d2781d 100644 --- a/test/tsan/signal_longjmp.cc +++ b/test/tsan/signal_longjmp.cc @@ -5,6 +5,10 @@ // Longjmp assembly has not been implemented for mips64 yet // XFAIL: mips64 +// This test fails on powerpc64 (VMA=44), a segmentation fault +// error happens at the second assignment +// "((volatile int *volatile)mem)[1] = 1". +// XFAIL: powerpc64 #include <setjmp.h> #include <signal.h> |