[PATCH] D43909: OpenBSD UBsan support / common

David CARLIER via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 3 04:09:53 PST 2018


devnexen added inline comments.


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


https://reviews.llvm.org/D43909





More information about the llvm-commits mailing list