projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
402fc79
)
[TSan] Disable __TSAN_HAS_INT128 on SystemZ
author
Ilya Leoshkevich
<iii@linux.ibm.com>
Fri, 2 Jul 2021 00:47:11 +0000
(
02:47
+0200)
committer
Ilya Leoshkevich
<iii@linux.ibm.com>
Thu, 15 Jul 2021 10:18:48 +0000
(12:18 +0200)
SystemZ does not have 128-bit atomics.
Reviewed By: dvyukov
Differential Revision: https://reviews.llvm.org/D105629
compiler-rt/lib/tsan/rtl/tsan_interface.h
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/tsan/rtl/tsan_interface.h
b/compiler-rt/lib/tsan/rtl/tsan_interface.h
index
6e022b5
..
124aa2f
100644
(file)
--- a/
compiler-rt/lib/tsan/rtl/tsan_interface.h
+++ b/
compiler-rt/lib/tsan/rtl/tsan_interface.h
@@
-196,7
+196,8
@@
typedef unsigned short a16;
typedef unsigned int a32;
typedef unsigned long long a64;
#if !SANITIZER_GO && (defined(__SIZEOF_INT128__) \
- || (__clang_major__ * 100 + __clang_minor__ >= 302)) && !defined(__mips64)
+ || (__clang_major__ * 100 + __clang_minor__ >= 302)) && \
+ !defined(__mips64) && !defined(__s390x__)
__extension__ typedef __int128 a128;
# define __TSAN_HAS_INT128 1
#else