diff options
| author | Viktor Kutuzov <vkutuzov@accesssoftek.com> | 2014-12-22 12:21:35 +0000 |
|---|---|---|
| committer | Viktor Kutuzov <vkutuzov@accesssoftek.com> | 2014-12-22 12:21:35 +0000 |
| commit | 35fb0b5d52f2aa1706526ebf06ee7e233d383726 (patch) | |
| tree | d508c9f9eb9914c0177c1667fb46d58284866e20 /compiler-rt/lib | |
| parent | 19ba9fbf270708e8692ce3dfd18c8c861472c2f8 (diff) | |
| download | bcm5719-llvm-35fb0b5d52f2aa1706526ebf06ee7e233d383726.tar.gz bcm5719-llvm-35fb0b5d52f2aa1706526ebf06ee7e233d383726.zip | |
[Sanitizers] Intercept wordexp on FreeBSD
Differential Revision: http://reviews.llvm.org/D6737
llvm-svn: 224699
Diffstat (limited to 'compiler-rt/lib')
| -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 7ca88fa972f..63451715b43 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 |

