Boost logo

Boost :

Subject: Re: [boost] [thread] Address sanitizer failures on marshall-mac
From: Jonathan Wakely (jwakely.boost_at_[hidden])
Date: 2014-03-08 13:29:30


On 8 March 2014 16:07, Niall Douglas wrote:
>
> The ThreadSanitiser doesn't need everything to be instrumented, and
> it has the huge advantage of speed and memory consumption over
> valgrind's helgrind or DRD. ThreadSanitiser has two versions, one
> based on valgrind where a subset of DRD/helgrind instrumentation is
> recognised, the other based on a clang backend which currently does
> not recognise DRD/helgrind instrumentation.

The valgrind-based ThreadSanitizer v1 is not really being developed or
supported now IIUC.

The new version is present in both Clang and GCC, and if you use those
compilers' built-in atomic operations (either the older __sync_xxxx or
newer __atomic_xxx intrinsics) then tsan should understand them and
need no instrumentation.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk