[PATCH] D39124: Add NetBSD improvements in sanitizers
Kamil Rytarowski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 23 07:14:19 PDT 2017
krytarowski added inline comments.
================
Comment at: lib/sanitizer_common/sanitizer_linux.cc:452
+#if SANITIZER_NETBSD
+ int res = internal_syscall_ptr(SYSCALL(nanosleep), &ts, &ts);
+#else
----------------
dvyukov wrote:
> nanosleep declared as returning int, why is this syscall_ptr?
`_ptr` here means that input arguments are pointers.
Repository:
rL LLVM
https://reviews.llvm.org/D39124
More information about the llvm-commits
mailing list