[PATCH] D36320: Add NetBSD support in sanitizer_linux_libcdep.cc

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 4 14:36:18 PDT 2017


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


================
Comment at: lib/sanitizer_common/sanitizer_linux_libcdep.cc:339
 
+#if SANITIZER_NETBSD
+uptr ThreadSelf() { return (uptr)pthread_self(); }
----------------
#elif SANITIZER_NETBSD


Repository:
  rL LLVM

https://reviews.llvm.org/D36320





More information about the llvm-commits mailing list