sled/tsan_suppressions.txt

18 lines
641 B
Plaintext

# This suppressions file should really only be used for things
# that TSAN can not correctly reason about, like raw memory
# fences or implicit equivalents created by performing atomic
# operations on variables.
# Read more about how to use this file at:
# https://github.com/google/sanitizers/wiki/ThreadSanitizerSuppressions
# Arc::drop is not properly detected by TSAN due to the use
# of a raw atomic Acquire fence after the strong-count
# atomic subtraction with a Release fence in the Drop impl.
race:Arc*drop
# lazy_static and thread_local rely on implicit barriers not
# picked-up by TSAN
race:lazy_static
race:std::thread::local