[clang] [compiler-rt] [rtsan] Enable RealtimeSanitizer for FreeBSD (PR #125389)

Chris Apple via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 7 13:34:16 PST 2025


================
@@ -1539,6 +1543,7 @@ TEST_F(KqueueTest, KeventDiesWhenRealtime) {
   ExpectNonRealtimeSurvival(Func);
 }
 
+#if SANITIZER_APPLE
----------------
cjappl wrote:

"Kqueue is a scalable event notification interface introduced in FreeBSD 4.1 in July 2000, also supported in NetBSD, OpenBSD, DragonFly BSD, and macOS."

Perhaps we just want `!FREE_BSD` or similar. Also I would potentially un-nest these `ifdefs` for clarity

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


More information about the cfe-commits mailing list