[compiler-rt] r227792 - [Sanitizers] Intercept getpwent_r() on FreeBSD
Viktor Kutuzov
vkutuzov at accesssoftek.com
Mon Feb 2 01:53:02 PST 2015
Author: vkutuzov
Date: Mon Feb 2 03:53:02 2015
New Revision: 227792
URL: http://llvm.org/viewvc/llvm-project?rev=227792&view=rev
Log:
[Sanitizers] Intercept getpwent_r() on FreeBSD
Committed unreviewed with permission.
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h?rev=227792&r1=227791&r2=227792&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h Mon Feb 2 03:53:02 2015
@@ -98,7 +98,7 @@
#define SANITIZER_INTERCEPT_GETPWENT \
SI_FREEBSD || SI_MAC || SI_LINUX_NOT_ANDROID
#define SANITIZER_INTERCEPT_FGETPWENT SI_LINUX_NOT_ANDROID
-#define SANITIZER_INTERCEPT_GETPWENT_R SI_LINUX_NOT_ANDROID
+#define SANITIZER_INTERCEPT_GETPWENT_R SI_FREEBSD || SI_LINUX_NOT_ANDROID
#define SANITIZER_INTERCEPT_SETPWENT SI_MAC || SI_LINUX_NOT_ANDROID
#define SANITIZER_INTERCEPT_CLOCK_GETTIME SI_FREEBSD || SI_LINUX
#define SANITIZER_INTERCEPT_GETITIMER SI_NOT_WINDOWS
More information about the llvm-commits
mailing list