aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2021-07-23 14:30:00 +0000
committerMark Johnston <markj@FreeBSD.org>2021-07-23 14:30:00 +0000
commit4cd7e82a4c7aed19dd722afa809466d5a45765d6 (patch)
treef9be064cb2343bb71c4144abcf34810ac7266c5b /sys/sys
parent90959dd1e50ee820e84bed4bc63fbed140298441 (diff)
downloadsrc-4cd7e82a4c7aed19dd722afa809466d5a45765d6.tar.gz
src-4cd7e82a4c7aed19dd722afa809466d5a45765d6.zip
cdefs: Add a default definition for __nosanitizememory
MFC after: 1 week Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/cdefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h
index 6c9d219a7885..4db720d08b9f 100644
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -888,6 +888,7 @@
#define __nosanitizethread __attribute__((no_sanitize("thread")))
#else
#define __nosanitizeaddress
+#define __nosanitizememory
#define __nosanitizethread
#endif