Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Oct 2024 16:53:42 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: a78bacf3b0ec - main - cdefs: Add __nosanitizecoverage
Message-ID:  <202410111653.49BGrgTl091000@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=a78bacf3b0ec0526e38f299fe4e17557f0930303

commit a78bacf3b0ec0526e38f299fe4e17557f0930303
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-10-11 16:51:13 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-10-11 16:52:53 +0000

    cdefs: Add __nosanitizecoverage
    
    Obtained from:  CheriBSD
    MFC after:      1 week
---
 sys/sys/cdefs.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h
index a56839d57c7a..9c4c8e0a324a 100644
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -719,9 +719,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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410111653.49BGrgTl091000>