[PATCH] D36325: Reuse sanitizer_linux for NetBSD
Kamil Rytarowski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 4 14:42:52 PDT 2017
krytarowski marked 2 inline comments as done.
krytarowski added inline comments.
================
Comment at: lib/sanitizer_common/sanitizer_linux.cc:441
+#if SANITIZER_NETBSD
+ internal_syscall(SYSCALL(gettimeofday), &tv, NULL);
+#else
----------------
fjricci wrote:
> What's the difference between this and the non-NETBSD case? Does the cast to uptr make a difference?
We need `internal_syscall_ptr`, as arguments are pointers.
Repository:
rL LLVM
https://reviews.llvm.org/D36325
More information about the llvm-commits
mailing list