mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 09:09:59 -04:00
Turn off TSAN for isc_log_wouldlog
This commit is contained in:
parent
93dd7b1b93
commit
7b3c7f52c2
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue