[compiler-rt] r333644 - Define SIZEOF_STRUCT_USTAT for 32bit sparc.
Sylvestre Ledru via llvm-commits
llvm-commits at lists.llvm.org
Thu May 31 05:41:15 PDT 2018
Author: sylvestre
Date: Thu May 31 05:41:15 2018
New Revision: 333644
URL: http://llvm.org/viewvc/llvm-project?rev=333644&view=rev
Log:
Define SIZEOF_STRUCT_USTAT for 32bit sparc.
Patch landed on gcc upstream:
https://github.com/gcc-mirror/gcc/commit/27453e962b3fe2f918c5105b2a48ec3e92d4c873
Patch by Matthias Klose
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.cc?rev=333644&r1=333643&r2=333644&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.cc Thu May 31 05:41:15 2018
@@ -259,7 +259,7 @@ namespace __sanitizer {
|| defined(__x86_64__)
#define SIZEOF_STRUCT_USTAT 32
#elif defined(__arm__) || defined(__i386__) || defined(__mips__) \
- || defined(__powerpc__) || defined(__s390__)
+ || defined(__powerpc__) || defined(__s390__) || defined(__sparc__)
#define SIZEOF_STRUCT_USTAT 20
#else
#error Unknown size of struct ustat
More information about the llvm-commits
mailing list