mirror of
https://github.com/python/cpython
synced 2026-09-29 09:00:29 +03:00
gh-112536: Add support for thread sanitizer (TSAN) (gh-112648)
This commit is contained in:
parent
f46987b828
commit
88cb972000
8 changed files with 81 additions and 10 deletions
|
|
@ -563,6 +563,11 @@ extern "C" {
|
|||
# define _Py_ADDRESS_SANITIZER
|
||||
# endif
|
||||
# endif
|
||||
# if __has_feature(thread_sanitizer)
|
||||
# if !defined(_Py_THREAD_SANITIZER)
|
||||
# define _Py_THREAD_SANITIZER
|
||||
# endif
|
||||
# endif
|
||||
#elif defined(__GNUC__)
|
||||
# if defined(__SANITIZE_ADDRESS__)
|
||||
# define _Py_ADDRESS_SANITIZER
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue