Merged branch 'master' of https://github.com/Nemo1369/libcds
[libcds.git] / tools / tsan-suppression
1 # Run-time flags: envvar TSAN_OPTIONS="';' delimited option list"
2 # Useful options (full list see https://github.com/google/sanitizers/wiki/ThreadSanitizerFlags):
3 #   suppressions=<supression_file_name>
4 #   verosity=n Verbosity level (0 - silent, 1 - a bit of output, 2+ - more output).
5 #   history_size=[0..7], default 2
6 #   detect_deadlocks=0 - some data structs in libcds tests use a lot of node-level mutexes.
7 #                        TSan has the hardcoded limit =16 for the number of mutex per thread.
8 #                        To prevent "possibly deadlock" reporting disable deadlock detection.
9 #                        Suppression can help in that case but stack unwinding increases 
10 #                        test time significantly.
11
12 # false: LazyList potential deadlock
13 deadlock:cds/intrusive/impl/lazy_list.h
14 deadlock:cds/intrusive/lazy_list_nogc.h
15
16 # false: BronsonAVLTree potential deadlock
17 deadlock:cds/container/impl/bronson_avltree_map_rcu.h
18
19 #TODO: temporary suppressed. Must be researched later
20 race:cds/container/impl/bronson_avltree_map_rcu.h
21
22 #TODO: MSPriorityQueue - temporary suppressed. Must be researched later
23 # Seems, TSan don't see spinlock blocking. How to learn TSan to see non-traditional locking algo?..
24 race:cds::intrusive::MSPriorityQueue
25
26 #TODO: gc::DHP must be reimplemented ASAP
27 race:cds::gc::dhp::GarbageCollector::scan