[sanitizer] Fix build with _FILE_OFFSET_BITS=64.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Tue, 21 Oct 2014 21:08:13 +0000 (21:08 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Tue, 21 Oct 2014 21:08:13 +0000 (21:08 +0000)
commit5efbbca8188abba6a3a3a3eea07afb3f824a806e
tree0b6937ef0d17bb7d7bbfd84dd9b90da5952836e8
parent4c1f801b8198fc634abf558598b9038cd9fe9882
[sanitizer] Fix build with _FILE_OFFSET_BITS=64.

Sanitizer source is not affected by _FILE_OFFSET_BITS in general,
but this one file must be built with 32-bit off_t. More details in the code.

llvm-svn: 220328
compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc