aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2021-07-23 14:30:00 +0000
committerMark Johnston <markj@FreeBSD.org>2021-07-30 00:32:58 +0000
commitd364264b29bca40de1a8fd728637be42644c4259 (patch)
tree871cc309776d841e72104dcfe29624197021448a
parent61acafc6c67e1930803f70002d3a610f4314042a (diff)
downloadsrc-d364264b29bca40de1a8fd728637be42644c4259.tar.gz
src-d364264b29bca40de1a8fd728637be42644c4259.zip
cdefs: Add a default definition for __nosanitizememory
Sponsored by: The FreeBSD Foundation (cherry picked from commit 4cd7e82a4c7aed19dd722afa809466d5a45765d6)
-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 ff461db9ec2e..85e9ea227150 100644
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -872,6 +872,7 @@
#define __nosanitizethread __attribute__((no_sanitize("thread")))
#else
#define __nosanitizeaddress
+#define __nosanitizememory
#define __nosanitizethread
#endif