Hi, This is a few reworked patches from "[PATCH v3 00/18] Various build-sys and sanitizer related fixes" series.
It enables sanitizers by default with --enable-debug. But sanitizers can be also enabled/disabled independently with a configure option. If ASAN is detected but coroutine annotations are not available, then a simple message is printed during configure. Marc-André Lureau (3): exynos4210: workaround UBSAN compilation error build-sys: add --enable-sanitizers ucontext: annotate coroutine stack for ASAN include/qemu/compiler.h | 4 +++ hw/display/exynos4210_fimd.c | 2 +- util/coroutine-ucontext.c | 48 ++++++++++++++++++++++++++++++++ .travis.yml | 3 +- configure | 65 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 120 insertions(+), 2 deletions(-) -- 2.16.0.rc1.1.gef27df75a1