git: d001b32a804e - stable/14 - cdefs: Add __nosanitizecoverage
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Oct 2024 12:56:28 UTC
The branch stable/14 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=d001b32a804e1737f81c6f94d746c6e506ee746e
commit d001b32a804e1737f81c6f94d746c6e506ee746e
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-10-11 16:51:13 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-10-18 12:27:37 +0000
cdefs: Add __nosanitizecoverage
Obtained from: CheriBSD
MFC after: 1 week
(cherry picked from commit a78bacf3b0ec0526e38f299fe4e17557f0930303)
---
sys/sys/cdefs.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h
index a52864c5db9d..4fa4decd7652 100644
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -880,9 +880,11 @@
#define __nosanitizeaddress __attribute__((no_sanitize("address")))
#define __nosanitizememory __attribute__((no_sanitize("memory")))
#endif
+#define __nosanitizecoverage __attribute__((no_sanitize("coverage")))
#define __nosanitizethread __attribute__((no_sanitize("thread")))
#else
#define __nosanitizeaddress
+#define __nosanitizecoverage
#define __nosanitizememory
#define __nosanitizethread
#endif