[compiler-rt] r370756 - compiler-rt: use 64-bit time_t for all FreeBSD archs except i386
Ed Maste via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 3 06:44:47 PDT 2019
Author: emaste
Date: Tue Sep 3 06:44:47 2019
New Revision: 370756
URL: http://llvm.org/viewvc/llvm-project?rev=370756&view=rev
Log:
compiler-rt: use 64-bit time_t for all FreeBSD archs except i386
At present only i386 has 32-bit time_t on FreeBSD.
Reviewed by: dim
Differential Revision: https://reviews.llvm.org/D66758
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_freebsd.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_freebsd.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_freebsd.h?rev=370756&r1=370755&r2=370756&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_freebsd.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_freebsd.h Tue Sep 3 06:44:47 2019
@@ -114,7 +114,7 @@ namespace __sanitizer {
long key;
};
-#if defined(__LP64___)
+#if !defined(__i386__)
typedef long long __sanitizer_time_t;
#else
typedef long __sanitizer_time_t;
More information about the llvm-commits
mailing list