Arkadiusz Marud <a.ma...@post.pl> writes: > Hi all, > > I am experimenting with running a C++ project built with ThreadSanitizer > (TSAN) under QEMU. > The documentation describes TSAN usage in system-mode (qemu-system-x86_64) > with --enable-tsan, > but I couldn’t find any reference to support in user-mode (qemu-x86_64). > > Does QEMU user-mode support running TSAN-instrumented binaries, or is > TSAN available only in system-mode builds?
I don't think the compiler cares and our TSAN helpers are mode agnostic. However there may be some fork/thread things that it can't track. > > Thanks in advance for clarification, > Arek -- Alex Bennée Virtualisation Tech Lead @ Linaro