[compiler-rt] e32b1d1 - [compiler-rt] enable pwritev interception on freebsd/netbsd. (#76759)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 2 15:37:09 PST 2024
Author: David CARLIER
Date: 2024-01-02T23:37:05Z
New Revision: e32b1d15f7a23ccd271764bb31c84d91c9dcddbb
URL: https://github.com/llvm/llvm-project/commit/e32b1d15f7a23ccd271764bb31c84d91c9dcddbb
DIFF: https://github.com/llvm/llvm-project/commit/e32b1d15f7a23ccd271764bb31c84d91c9dcddbb.diff
LOG: [compiler-rt] enable pwritev interception on freebsd/netbsd. (#76759)
Added:
Modified:
compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
Removed:
################################################################################
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
index 289ae661c343f1..0ce4e9351bc1da 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
@@ -191,7 +191,8 @@
#define SANITIZER_INTERCEPT_PREADV \
(SI_FREEBSD || SI_NETBSD || SI_LINUX_NOT_ANDROID)
-#define SANITIZER_INTERCEPT_PWRITEV SI_LINUX_NOT_ANDROID
+#define SANITIZER_INTERCEPT_PWRITEV \
+ (SI_FREEBSD || SI_NETBSD || SI_LINUX_NOT_ANDROID)
#define SANITIZER_INTERCEPT_PREADV64 SI_GLIBC
#define SANITIZER_INTERCEPT_PWRITEV64 SI_GLIBC
More information about the llvm-commits
mailing list