From: Viktor Kutuzov Date: Mon, 22 Dec 2014 12:21:35 +0000 (+0000) Subject: [Sanitizers] Intercept wordexp on FreeBSD X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=35fb0b5d52f2aa1706526ebf06ee7e233d383726;p=platform%2Fupstream%2Fllvm.git [Sanitizers] Intercept wordexp on FreeBSD Differential Revision: http://reviews.llvm.org/D6737 llvm-svn: 224699 --- diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h index 7ca88fa..6345171 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h @@ -147,7 +147,8 @@ #define SANITIZER_INTERCEPT_GETGROUPS SI_NOT_WINDOWS #define SANITIZER_INTERCEPT_POLL SI_NOT_WINDOWS #define SANITIZER_INTERCEPT_PPOLL SI_LINUX_NOT_ANDROID -#define SANITIZER_INTERCEPT_WORDEXP (SI_MAC && !SI_IOS) || SI_LINUX_NOT_ANDROID +#define SANITIZER_INTERCEPT_WORDEXP \ + SI_FREEBSD || (SI_MAC && !SI_IOS) || SI_LINUX_NOT_ANDROID #define SANITIZER_INTERCEPT_SIGWAIT SI_NOT_WINDOWS #define SANITIZER_INTERCEPT_SIGWAITINFO SI_LINUX_NOT_ANDROID #define SANITIZER_INTERCEPT_SIGTIMEDWAIT SI_LINUX_NOT_ANDROID