Project

General

Profile

Download (314 Bytes) Statistics
| Branch: | Tag: | Revision:
#ifndef __TSAN_H__
#define __TSAN_H__

/* NO_SANITIZE_THREAD: disable TSAN on a function */
#ifdef __clang__
# if __has_attribute(__no_sanitize__)
# define NO_SANITIZE_THREAD __attribute__((no_sanitize("thread")))
# endif
#endif

#ifndef NO_SANITIZE_THREAD
#define NO_SANITIZE_THREAD /**/
#endif

#endif
(14-14/14)