Use GCC built-in atomic to define nop_write in case of TSan (Aarch64)
authorIvan Maidanski <ivmai@mail.ru>
Tue, 5 Dec 2017 07:51:45 +0000 (10:51 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 22 Dec 2017 07:43:47 +0000 (10:43 +0300)
commit6a8ace57b0631ab96d24323f5dde2350ce6e70b4
tree587e61ebc58c3dcf057029d96c11a3445da057b2
parent06cbf7cb7b172c555ec76f90f32c04f346beeff4
Use GCC built-in atomic to define nop_write in case of TSan (Aarch64)

* src/atomic_ops/sysdeps/gcc/aarch64.h [!AO_PREFER_BUILTIN_ATOMICS
&& !AO_UNIPROCESSOR] (AO_nop_write): Do not define (using asm DMB)
if AO_THREAD_SANITIZER; update comment.
src/atomic_ops/sysdeps/gcc/aarch64.h