summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMarc-André Lureau2022-04-20 15:21:45 +0200
committerMarc-André Lureau2022-05-03 13:16:23 +0200
commit638466f777dc385dbd9b581ea31c6defd5f75efe (patch)
treed4efccf7a96a5a99c832d988255d181d2c6718f6 /util
parentUse QEMU_SANITIZE_THREAD (diff)
downloadqemu-638466f777dc385dbd9b581ea31c6defd5f75efe.tar.gz
qemu-638466f777dc385dbd9b581ea31c6defd5f75efe.tar.xz
qemu-638466f777dc385dbd9b581ea31c6defd5f75efe.zip
Use QEMU_SANITIZE_ADDRESS
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'util')
-rw-r--r--util/coroutine-ucontext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/coroutine-ucontext.c b/util/coroutine-ucontext.c
index 904b375192..ed368e1a3e 100644
--- a/util/coroutine-ucontext.c
+++ b/util/coroutine-ucontext.c
@@ -30,7 +30,7 @@
#include <valgrind/valgrind.h>
#endif
-#if defined(__SANITIZE_ADDRESS__) || __has_feature(address_sanitizer)
+#ifdef QEMU_SANITIZE_ADDRESS
#ifdef CONFIG_ASAN_IFACE_FIBER
#define CONFIG_ASAN 1
#include <sanitizer/asan_interface.h>