On Tue, 28 May 2019 at 14:47, Alex Bennée <alex.ben...@linaro.org> wrote: > Sounds like we should include the sanitizer build in our normal setup. > We currently only do: > > ./configure ${CONFIG} --extra-cflags="-g3 -O0 -fsanitize=thread > -fuse-ld=gold" > > with gcc-7. What are the clang configure runes you are using?
I use '../../configure' '--cc=clang' '--cxx=clang++' '--enable-gtk' '--extra-cflags=-fsanitize=undefined -fno-sanitize=shift-base -Werror' (which we document at https://wiki.qemu.org/Testing#clang_UBSan) thanks -- PMM