[compiler-rt] Dump regs fbsd fix (PR #99676)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 19 11:17:03 PDT 2024


================
@@ -143,6 +143,8 @@ inline void *Mmap(void *addr, size_t length, int prot, int flags, int fd,
   return __mmap(addr, length, prot, flags, fd, 0, offset);
 #elif SANITIZER_FREEBSD && (defined(__aarch64__) || defined(__x86_64__))
   return (void *)__syscall(SYS_mmap, addr, length, prot, flags, fd, offset);
+#elif SANITIZER_FREEBSD && (defined(__i386__))
----------------
vitalybuka wrote:

how is this related to regs?

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


More information about the llvm-commits mailing list