[PATCH 1/2] Use 64-bit integer on time_t and clock_t for x32

H.J. Lu hjl.tools at gmail.com
Mon Jan 13 09:31:46 PST 2014


X32 uses 64-bit integer for time_t and clock_t.  X32 defines __x86_64__,
but not _LP64.  This patch uses u64 for time_t and long long for
clock_t when compiling for x32.
---
 lib/sanitizer_common/sanitizer_platform_limits_linux.cc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)


-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-64-bit-integer-on-time_t-and-clock_t-for-x32.patch
Type: text/x-patch
Size: 1522 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140113/ec32c160/attachment.bin>


More information about the llvm-commits mailing list