[compiler-rt] r327596 - [sanitizer] Fix off type in mmap64 interceptor
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 14 18:13:29 PDT 2018
Author: vitalybuka
Date: Wed Mar 14 18:13:29 2018
New Revision: 327596
URL: http://llvm.org/viewvc/llvm-project?rev=327596&view=rev
Log:
[sanitizer] Fix off type in mmap64 interceptor
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc?rev=327596&r1=327595&r2=327596&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc Wed Mar 14 18:13:29 2018
@@ -6887,7 +6887,7 @@ INTERCEPTOR(void *, mmap, void *addr, SI
#if SANITIZER_INTERCEPT_MMAP64
INTERCEPTOR(void *, mmap64, void *addr, SIZE_T sz, int prot, int flags, int fd,
- OFF_T off) {
+ OFF64_T off) {
void *ctx;
if (COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED)
return (void *)internal_mmap(addr, sz, prot, flags, fd, off);
More information about the llvm-commits
mailing list