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

David CARLIER via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 10 04:32:13 PST 2025


================
@@ -864,11 +864,18 @@ INTERCEPTOR(void *, pvalloc, size_t size) {
 #define RTSAN_MAYBE_INTERCEPT_PVALLOC
 #endif
 
+#if !SANITIZER_FREEBSD
+// enabling this interception on freebsd leads to infinite recursion
+// on pthread lib initialization
----------------
devnexen wrote:

![image](https://github.com/user-attachments/assets/e18f02d4-d6cc-4078-8fea-19e6c6293cbe)


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


More information about the cfe-commits mailing list