[PATCH] D39798: [Sanitizers] Use SANITIZER_* macros in lib/interception
Kamil Rytarowski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 8 07:42:34 PST 2017
krytarowski added inline comments.
================
Comment at: lib/interception/interception.h:267
-#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__)
+#if SANITIZER_LINUX || SANITIZER_FREEBSD || SANITIZER_NetBSD
# include "interception_linux.h"
----------------
`SANITIZER_NETBSD`
================
Comment at: lib/interception/interception_mac.cc:17
+#if SANITIZER_MAC
----------------
Does it make sense?
https://reviews.llvm.org/D39798
More information about the llvm-commits
mailing list