[compiler-rt] [compiler-rt][rtsan] mremap for Linux interception. (PR #124234)

Chris Apple via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 27 04:00:42 PST 2025


================
@@ -850,6 +851,32 @@ INTERCEPTOR(void *, mmap64, void *addr, size_t length, int prot, int flags,
 #define RTSAN_MAYBE_INTERCEPT_MMAP64
 #endif // SANITIZER_INTERCEPT_MMAP64
 
+#if SANITIZER_LINUX
+// Note that even if rtsan is ported to netbsd, it has a different signature
+// still
----------------
cjappl wrote:

I'm unclear on what this comment means, could you rephrase it?

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


More information about the llvm-commits mailing list