[PATCH] D56109: [sanitizer_common] Define __sanitizer_FILE on NetBSD

Kamil Rytarowski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 27 15:09:47 PST 2018


krytarowski added inline comments.


================
Comment at: lib/sanitizer_common/sanitizer_common_interceptors.inc:5698
+#if SANITIZER_NETBSD
+  if (fp->_bf._base)
+    COMMON_INTERCEPTOR_INITIALIZE_RANGE(fp->_bf._base,
----------------
maybe `if (fp->_bf._base && fp->_bf._size)`


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56109/new/

https://reviews.llvm.org/D56109





More information about the cfe-commits mailing list