[issue35204] Disable thread and memory sanitizers for address_in_range()

Alexey Izbyshev report at bugs.python.org
Fri Nov 9 17:40:46 EST 2018


Alexey Izbyshev <izbyshev at ispras.ru> added the comment:

I've submitted a PR which implements the change with additional cleanups.

GCC introduced TSan together with ASan in 4.8[1], but didn't provide a macro to test for -fsanitize=thread option until 7[2,3].

[1] https://gcc.gnu.org/gcc-4.8/changes.html
[2] https://gcc.gnu.org/onlinedocs/gcc-6.4.0/cpp/Common-Predefined-Macros.html#Common-Predefined-Macros
[3] https://gcc.gnu.org/onlinedocs/gcc-7.1.0/cpp/Common-Predefined-Macros.html#Common-Predefined-Macros

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35204>
_______________________________________


More information about the Python-bugs-list mailing list