[PATCH] D35551: Add NetBSD support in sanitizer_procmaps_freebsd.cc
Francis Ricci via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 4 06:29:41 PDT 2017
fjricci added inline comments.
================
Comment at: lib/sanitizer_common/sanitizer_procmaps_freebsd.cc:36
+#ifndef __arraycount
+#define __arraycount(__x) (sizeof(__x) / sizeof(__x[0]))
+#endif
----------------
The sanitizers already have a macro for this, ARRAY_SIZE, I believe
Repository:
rL LLVM
https://reviews.llvm.org/D35551
More information about the llvm-commits
mailing list