[PATCH] D51419: Switch syscall(2)/__syscall(2) calls to libc calls on NetBSD

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 1 11:03:02 PDT 2018


vitalybuka accepted this revision.
vitalybuka added inline comments.
This revision is now accepted and ready to land.


================
Comment at: lib/sanitizer_common/sanitizer_linux.cc:240
 }
 
----------------
For this patch I see "Context not available."
Probably it was not created with arc tool.


================
Comment at: lib/sanitizer_common/sanitizer_linux.cc:708
 // 32-bit syscall here.
-#if SANITIZER_NETBSD || SANITIZER_OPENBSD
+#if SANITIZER_NETBSD
+// Not used
----------------
for future refactoring it would be nice to collect all non-NETBSD stuff into single  #if !SANITIZER_NETBSD


Repository:
  rL LLVM

https://reviews.llvm.org/D51419





More information about the llvm-commits mailing list