[llvm-commits] [compiler-rt] r173333 - /compiler-rt/trunk/lib/asan/asan_intercepted_functions.h

Alexander Potapenko glider at google.com
Thu Jan 24 01:15:08 PST 2013


Author: glider
Date: Thu Jan 24 03:15:08 2013
New Revision: 173333

URL: http://llvm.org/viewvc/llvm-project?rev=173333&view=rev
Log:
[ASan] fix compilation on Mac by adding a missing pwrite parameter.

Modified:
    compiler-rt/trunk/lib/asan/asan_intercepted_functions.h

Modified: compiler-rt/trunk/lib/asan/asan_intercepted_functions.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_intercepted_functions.h?rev=173333&r1=173332&r2=173333&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_intercepted_functions.h (original)
+++ compiler-rt/trunk/lib/asan/asan_intercepted_functions.h Thu Jan 24 03:15:08 2013
@@ -171,7 +171,8 @@
 DECLARE_FUNCTION_AND_WRAPPER(SSIZE_T, write, int fd, void *ptr, SIZE_T count);
 # endif
 # if SANITIZER_INTERCEPT_PWRITE
-DECLARE_FUNCTION_AND_WRAPPER(SSIZE_T, pwrite, int fd, void *ptr, SIZE_T count);
+DECLARE_FUNCTION_AND_WRAPPER(SSIZE_T, pwrite,
+                             int fd, void *ptr, SIZE_T count, OFF_T offset);
 # endif
 
 # if ASAN_INTERCEPT_MLOCKX





More information about the llvm-commits mailing list