[PATCH] D43909: OpenBSD UBsan support / common

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 3 04:05:13 PST 2018


krytarowski added inline comments.


================
Comment at: lib/sanitizer_common/sanitizer_openbsd.cc:45
+                   u64 offset) {
+  return (uptr)mmap(addr, length, prot, flags, fd, offset);
+}
----------------
I think you need to use syscall(), however this is restricted for UBSan-only so we might bear with it.


https://reviews.llvm.org/D43909





More information about the llvm-commits mailing list