[PATCH] Do not assume RLIM_INFINITY is always (rlim_t)-1in sanitizers code

Viktor Kutuzov vkutuzov at accesssoftek.com
Fri Sep 5 04:54:23 PDT 2014


Hi kcc, samsonov,

On FreeBSD it is defined as:
  #define RLIM_INFINITY ((rlim_t)(((uint64_t)1) << 63) - 1))

http://reviews.llvm.org/D5212

Files:
  lib/sanitizer_common/sanitizer_posix_libcdep.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5212.13317.patch
Type: text/x-patch
Size: 765 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140905/89e1d8f6/attachment.bin>


More information about the llvm-commits mailing list