Skip to content

Commit 90f8673

Browse files
committedDec 22, 2014
[Sanitizers] Intercept wcsnrtombs() on FreeBSD
Differential Revision: http://reviews.llvm.org/D6755 llvm-svn: 224709
1 parent 2a5b81d commit 90f8673

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@
134134
#define SANITIZER_INTERCEPT_MBSTOWCS SI_NOT_WINDOWS
135135
#define SANITIZER_INTERCEPT_MBSNRTOWCS SI_MAC || SI_LINUX_NOT_ANDROID
136136
#define SANITIZER_INTERCEPT_WCSTOMBS SI_NOT_WINDOWS
137-
#define SANITIZER_INTERCEPT_WCSNRTOMBS SI_MAC || SI_LINUX_NOT_ANDROID
137+
#define SANITIZER_INTERCEPT_WCSNRTOMBS \
138+
SI_FREEBSD || SI_MAC || SI_LINUX_NOT_ANDROID
138139
#define SANITIZER_INTERCEPT_TCGETATTR SI_LINUX_NOT_ANDROID
139140
#define SANITIZER_INTERCEPT_REALPATH SI_NOT_WINDOWS
140141
#define SANITIZER_INTERCEPT_CANONICALIZE_FILE_NAME SI_LINUX_NOT_ANDROID

0 commit comments

Comments
 (0)
Please sign in to comment.