[compiler-rt] 937242c - [TSan] Adjust tests for SystemZ
Ilya Leoshkevich via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 15 03:19:30 PDT 2021
Author: Ilya Leoshkevich
Date: 2021-07-15T12:18:48+02:00
New Revision: 937242cecc13f60c8e31ce8f936bfe218af42a90
URL: https://github.com/llvm/llvm-project/commit/937242cecc13f60c8e31ce8f936bfe218af42a90
DIFF: https://github.com/llvm/llvm-project/commit/937242cecc13f60c8e31ce8f936bfe218af42a90.diff
LOG: [TSan] Adjust tests for SystemZ
XFAIL map32bit, define the maximum possible allocation size in
mmap_large.cpp.
Reviewed By: dvyukov
Differential Revision: https://reviews.llvm.org/D105629
Added:
Modified:
compiler-rt/test/tsan/map32bit.cpp
compiler-rt/test/tsan/mmap_large.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/tsan/map32bit.cpp b/compiler-rt/test/tsan/map32bit.cpp
index 8aef27bc1900..0f8236292be7 100644
--- a/compiler-rt/test/tsan/map32bit.cpp
+++ b/compiler-rt/test/tsan/map32bit.cpp
@@ -11,6 +11,7 @@
// XFAIL: mips
// XFAIL: aarch64
// XFAIL: powerpc64
+// XFAIL: s390x
// MAP_32BIT doesn't exist on OS X and NetBSD.
// UNSUPPORTED: darwin,netbsd
diff --git a/compiler-rt/test/tsan/mmap_large.cpp b/compiler-rt/test/tsan/mmap_large.cpp
index c8d258e804d7..1d4c73252832 100644
--- a/compiler-rt/test/tsan/mmap_large.cpp
+++ b/compiler-rt/test/tsan/mmap_large.cpp
@@ -21,6 +21,8 @@ int main() {
const size_t kLog2Size = 32;
#elif defined(__powerpc64__)
const size_t kLog2Size = 39;
+#elif defined(__s390x__)
+ const size_t kLog2Size = 43;
#endif
const uintptr_t kLocation = 0x40ULL << kLog2Size;
void *p = mmap(
More information about the llvm-commits
mailing list