[compiler-rt] b176738 - [TSan] Disable __TSAN_HAS_INT128 on SystemZ
Ilya Leoshkevich via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 15 03:19:27 PDT 2021
Author: Ilya Leoshkevich
Date: 2021-07-15T12:18:48+02:00
New Revision: b17673816d7f65e07015489993b22049e36b04db
URL: https://github.com/llvm/llvm-project/commit/b17673816d7f65e07015489993b22049e36b04db
DIFF: https://github.com/llvm/llvm-project/commit/b17673816d7f65e07015489993b22049e36b04db.diff
LOG: [TSan] Disable __TSAN_HAS_INT128 on SystemZ
SystemZ does not have 128-bit atomics.
Reviewed By: dvyukov
Differential Revision: https://reviews.llvm.org/D105629
Added:
Modified:
compiler-rt/lib/tsan/rtl/tsan_interface.h
Removed:
################################################################################
diff --git a/compiler-rt/lib/tsan/rtl/tsan_interface.h b/compiler-rt/lib/tsan/rtl/tsan_interface.h
index 6e022b56850c..124aa2fd2143 100644
--- 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
More information about the llvm-commits
mailing list