[compiler-rt] [rtsan] Add Support for Realtime Sanitizer for SystemZ (PR #165259)

Chris Apple via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 25 17:48:17 PST 2025


================
@@ -45,11 +45,23 @@ uptr internal_mmap(void *addr, uptr length, int prot, int flags, int fd,
     (unsigned long)(offset / 4096),
 #  endif
   };
+  // Realtime Sanitizer syscall calls interceptor during initializatio at the
+  // time when inceptors are not even intialized.
+  // We have an option of modifying implementation of  internal_mmap for s390
+  // in sanitizer_linux.cpp.
+  register uptr retval __asm__("r2");
----------------
cjappl wrote:

Great, thank you @anoopkg6 . I am going to assign this to me to touch base when we merge that other fix. It may be a little bit with the holidays coming up. If this becomes a major blocker for you please let me know.

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


More information about the llvm-commits mailing list