From 89f0b9e6c5b460e0a73cddc3331ae728b06952c1 Mon Sep 17 00:00:00 2001 From: Marcin Koscielnicki Date: Thu, 14 Apr 2016 21:17:19 +0000 Subject: [sanitizer] [SystemZ] Add/fix kernel and libc type definitions. This is the first part of upcoming asan support for s390 and s390x. Note that there are bits for 31-bit support in this and subsequent patches - while LLVM itself doesn't support it, gcc should be able to make use of it just fine. Differential Revision: http://reviews.llvm.org/D18888 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@266370 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/sanitizer_common/sanitizer_platform_limits_linux.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sanitizer_common/sanitizer_platform_limits_linux.cc') diff --git a/lib/sanitizer_common/sanitizer_platform_limits_linux.cc b/lib/sanitizer_common/sanitizer_platform_limits_linux.cc index 92353e42d..2ae08de9d 100644 --- a/lib/sanitizer_common/sanitizer_platform_limits_linux.cc +++ b/lib/sanitizer_common/sanitizer_platform_limits_linux.cc @@ -62,7 +62,7 @@ namespace __sanitizer { } // namespace __sanitizer #if !defined(__powerpc64__) && !defined(__x86_64__) && !defined(__aarch64__)\ - && !defined(__mips__) + && !defined(__mips__) && !defined(__s390__) COMPILER_CHECK(struct___old_kernel_stat_sz == sizeof(struct __old_kernel_stat)); #endif -- cgit v1.2.3