Skip to content

Commit e32b1d1

Browse files
authored
[compiler-rt] enable pwritev interception on freebsd/netbsd. (llvm#76759)
1 parent b64992a commit e32b1d1

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,8 @@
191191

192192
#define SANITIZER_INTERCEPT_PREADV \
193193
(SI_FREEBSD || SI_NETBSD || SI_LINUX_NOT_ANDROID)
194-
#define SANITIZER_INTERCEPT_PWRITEV SI_LINUX_NOT_ANDROID
194+
#define SANITIZER_INTERCEPT_PWRITEV \
195+
(SI_FREEBSD || SI_NETBSD || SI_LINUX_NOT_ANDROID)
195196
#define SANITIZER_INTERCEPT_PREADV64 SI_GLIBC
196197
#define SANITIZER_INTERCEPT_PWRITEV64 SI_GLIBC
197198

0 commit comments

Comments
 (0)