[PATCH] D66758: compiler-rt: all FreeBSD CPU archs except i386 use 64-bit time_t

Ed Maste via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 26 10:56:07 PDT 2019


emaste created this revision.
emaste added reviewers: dim, devnexen.
Herald added a subscriber: dberris.
Herald added a project: LLVM.

https://reviews.llvm.org/D66758

Files:
  compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_freebsd.h


Index: compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_freebsd.h
===================================================================
--- compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_freebsd.h
+++ compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_freebsd.h
@@ -114,7 +114,7 @@
     long key;
   };
 
-#if defined(__LP64___)
+#if !defined(__i386__)
   typedef long long __sanitizer_time_t;
 #else
   typedef long __sanitizer_time_t;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66758.217199.patch
Type: text/x-patch
Size: 465 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190826/75e16f64/attachment.bin>


More information about the llvm-commits mailing list