[compiler-rt] [compiler-rt] enable pwritev interception on freebsd. (PR #76759)

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 2 15:20:02 PST 2024


================
@@ -191,7 +191,7 @@
 
 #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_LINUX_NOT_ANDROID)
----------------
fmayer wrote:

Fine if you don't know: is there a reason this isn't the same as SANITIZER_INTERCEPT_PREADV? I feel like a system would either support both or neither.

https://github.com/llvm/llvm-project/pull/76759


More information about the llvm-commits mailing list