diff options
author | Viktor Kutuzov <vkutuzov@accesssoftek.com> | 2014-10-09 08:59:59 +0000 |
---|---|---|
committer | Viktor Kutuzov <vkutuzov@accesssoftek.com> | 2014-10-09 08:59:59 +0000 |
commit | bafaa7f6ba75978e7a936b0831c8dfb0112f26ac (patch) | |
tree | 18199e77ff5b19d8bcdc0e6ec9f1f2c03687e77e /compiler-rt | |
parent | 2ed7c9df7fe9585d250254eedeaace0cc10f71ff (diff) | |
download | bcm5719-llvm-bafaa7f6ba75978e7a936b0831c8dfb0112f26ac.tar.gz bcm5719-llvm-bafaa7f6ba75978e7a936b0831c8dfb0112f26ac.zip |
[Sanitizers] Intercept dlopen() and dlclose() on FreeBSD
Differential Revision: http://reviews.llvm.org/D5664
llvm-svn: 219396
Diffstat (limited to 'compiler-rt')
-rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |