[compiler-rt] [compiler-rt][rtsan] fseek api interception. (PR #122163)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 14 11:57:23 PST 2025


================
@@ -593,7 +593,7 @@ SANITIZER_WEAK_IMPORT void *aligned_alloc(__sanitizer::usize __alignment,
 #define SANITIZER_INTERCEPT_SHA1 SI_NETBSD
 #define SANITIZER_INTERCEPT_MD4 SI_NETBSD
 #define SANITIZER_INTERCEPT_RMD160 SI_NETBSD
-#define SANITIZER_INTERCEPT_FSEEK SI_POSIX
+#define SANITIZER_INTERCEPT_FSEEK (SI_NETBSD || SI_FREEBSD)
----------------
davidtrevelyan wrote:

This line appears to undo the change from https://github.com/llvm/llvm-project/pull/122795/files - is this deliberate?

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


More information about the llvm-commits mailing list