New ThreadSanitizer runtime (v3)

Martin Liška mliska@suse.cz
Mon Nov 22 19:07:59 GMT 2021


On 11/22/21 20:00, Dmitry Vyukov wrote:
> Not sure about gcc, but in clang the old no_sanitize_thread attribute
> disabled only part of instrumentation (only memory accesses, but not
> atomics and function entry/exit). The new attribute disables all
> instrumentation.

And what about no_sanitize("thread"):
https://clang.llvm.org/docs/AttributeReference.html#no-sanitize

How is that different from the new attribute?
Please document how that differs (if you really need the new attribute).

Thanks,
Martin


More information about the Gcc mailing list