On 26 April 2017 at 14:32, Cédric Le Goater <c...@kaod.org> wrote: > On 04/26/2017 03:15 PM, Peter Maydell wrote: >> I just looked into this, and I think the best set of configure options is: >> '--cc=clang' '--cxx=clang++' '--extra-cflags=-fsanitize=undefined >> -fno-sanitize=shift-base -Werror' > > Ah ! Too fast you are for me :) you beat me to it. > >> Works with clang-3.8.0 at least. > > Yes. confirmed.
I've added info on how to use clang ubsan to http://wiki.qemu.org/Testing#clang_UBSan thanks -- PMM