From bafaa7f6ba75978e7a936b0831c8dfb0112f26ac Mon Sep 17 00:00:00 2001 From: Viktor Kutuzov Date: Thu, 9 Oct 2014 08:59:59 +0000 Subject: [Sanitizers] Intercept dlopen() and dlclose() on FreeBSD Differential Revision: http://reviews.llvm.org/D5664 llvm-svn: 219396 --- compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'compiler-rt') diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h index 2de44145d23..88e611302b4 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h @@ -228,7 +228,8 @@ #define SANITIZER_INTERCEPT_OBSTACK SI_LINUX_NOT_ANDROID #define SANITIZER_INTERCEPT_FFLUSH SI_NOT_WINDOWS #define SANITIZER_INTERCEPT_FCLOSE SI_NOT_WINDOWS -#define SANITIZER_INTERCEPT_DLOPEN_DLCLOSE SI_LINUX_NOT_ANDROID || SI_MAC +#define SANITIZER_INTERCEPT_DLOPEN_DLCLOSE \ + SI_FREEBSD || SI_LINUX_NOT_ANDROID || SI_MAC #define SANITIZER_INTERCEPT_GETPASS SI_LINUX_NOT_ANDROID || SI_MAC #define SANITIZER_INTERCEPT_TIMERFD SI_LINUX_NOT_ANDROID -- cgit v1.2.3