mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Turn off TSAN for isc_log_wouldlog
This commit is contained in:
@@ -210,9 +210,9 @@
|
||||
#endif /* if __has_feature(thread_sanitizer) */
|
||||
|
||||
#if __SANITIZE_THREAD__
|
||||
#define ISC_NO_SANITIZE __attribute__((no_sanitize("thread")))
|
||||
#define ISC_NO_SANITIZE_THREAD __attribute__((no_sanitize("thread")))
|
||||
#else /* if __SANITIZE_THREAD__ */
|
||||
#define ISC_NO_SANITIZE
|
||||
#define ISC_NO_SANITIZE_THREAD
|
||||
#endif /* if __SANITIZE_THREAD__ */
|
||||
|
||||
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR >= 6)
|
||||
|
@@ -1460,7 +1460,7 @@ isc_log_open(isc_logchannel_t *channel) {
|
||||
return (result);
|
||||
}
|
||||
|
||||
bool
|
||||
ISC_NO_SANITIZE_THREAD bool
|
||||
isc_log_wouldlog(isc_log_t *lctx, int level) {
|
||||
/*
|
||||
* Try to avoid locking the mutex for messages which can't
|
||||
|
Reference in New Issue
Block a user