1 # This file lists the functions, object files and source files
2 # which should be ignored (i.e. not instrumented) by ThreadSanitizer on Mac OS.
3 # At the moment the Chromium binaries' debug info is not available to
4 # ThreadSanitizer, so we have to define fun:* rules for Mac OS complementing
5 # the src:* rules defined for Linux.
7 # we ignore the Security libraries for now since
8 # their instrumentation is very slow.
9 # TODO(timurrrr): investigate whether we need to instrument them
12 # SensitiveAllocator::free is a part of the Security framework.
13 # It calls bzero (0xffff0633) which can't be resolved and thus should be
14 # ignored recursively.
15 fun_r:*SensitiveAllocator*free*
17 # The CFBag and CFDictionary operators should be thread-safe, but they are not
19 # TODO(glider): replace all the CoreFoundation suppressions with ignores.
22 fun_r:CFBasicDictionary*
26 fun_r:__CFRunLoopDeallocate
28 fun_r:__CFRunLoopRemoveAllSources
29 fun_r:__CFFinalizeRunLoop
31 # _cthread_fork_child() is called in the child process after the fork syscall.
32 # This function cleans up the cthread data structures created in the parent,
33 # so ThreadSanitizer might consider it racey.
34 fun_r:_cthread_fork_child
36 # False reports on Snow Leopard.
38 fun_r: _dispatch_queue_drain