diff options
| author | Viktor Kutuzov <vkutuzov@accesssoftek.com> | 2015-05-07 12:14:32 +0000 |
|---|---|---|
| committer | Viktor Kutuzov <vkutuzov@accesssoftek.com> | 2015-05-07 12:14:32 +0000 |
| commit | d046d24461ec1ad7b75ad1d7514d5146802b82f2 (patch) | |
| tree | 26a5186062e625ff7383201a37a5476defcac782 /compiler-rt/lib/sanitizer_common | |
| parent | 03a909f4b6df7c4de218a7cbfaeb41d2ee5b146b (diff) | |
| download | bcm5719-llvm-d046d24461ec1ad7b75ad1d7514d5146802b82f2.tar.gz bcm5719-llvm-d046d24461ec1ad7b75ad1d7514d5146802b82f2.zip | |
Intercept scandir() on FreeBSD
Committed unreviewed with premission.
llvm-svn: 236720
Diffstat (limited to 'compiler-rt/lib/sanitizer_common')
| -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 58b35654827..16312a3193f 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_STRERROR SI_NOT_WINDOWS #define SANITIZER_INTERCEPT_STRERROR_R SI_NOT_WINDOWS #define SANITIZER_INTERCEPT_XPG_STRERROR_R SI_LINUX_NOT_ANDROID -#define SANITIZER_INTERCEPT_SCANDIR SI_LINUX_NOT_ANDROID +#define SANITIZER_INTERCEPT_SCANDIR \ + SI_FREEBSD || SI_LINUX_NOT_ANDROID #define SANITIZER_INTERCEPT_SCANDIR64 SI_LINUX_NOT_ANDROID #define SANITIZER_INTERCEPT_GETGROUPS SI_NOT_WINDOWS #define SANITIZER_INTERCEPT_POLL SI_NOT_WINDOWS |

