OLD | NEW |
1 # This file lists the functions, object files and source files | 1 # This file lists the functions, object files and source files |
2 # which should be ignored (i.e. not instrumented) by ThreadSanitizer. | 2 # which should be ignored (i.e. not instrumented) by ThreadSanitizer. |
3 # See http://code.google.com/p/data-race-test/wiki/ThreadSanitizerIgnores. | 3 # See http://code.google.com/p/data-race-test/wiki/ThreadSanitizerIgnores. |
4 | 4 |
5 # ignore these libraries | 5 # ignore these libraries |
6 obj:*/ld-2* | 6 obj:*/ld-2* |
7 obj:*/libpthread-* | 7 obj:*/libpthread-* |
8 obj:*/libfreetype* | 8 obj:*/libfreetype* |
9 | 9 |
10 # we ignore the whole NSS library for now since | 10 # we ignore the whole NSS library for now since |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 fun:*_M_is_shared* | 46 fun:*_M_is_shared* |
47 fun:*_M_set_leaked* | 47 fun:*_M_set_leaked* |
48 fun:*_M_set_sharable* | 48 fun:*_M_set_sharable* |
49 | 49 |
50 # Don't instrument intercepts | 50 # Don't instrument intercepts |
51 src:*ts_valgrind_intercepts.c | 51 src:*ts_valgrind_intercepts.c |
52 | 52 |
53 ################################################################## | 53 ################################################################## |
54 # Don't instrument synchronization code | 54 # Don't instrument synchronization code |
55 src:*base/waitable_event* | 55 src:*base/waitable_event* |
56 src:*base/atomic* | |
57 src:*base/condition_variable* | 56 src:*base/condition_variable* |
58 src:*base/lock* | 57 src:*base/lock* |
59 src:*base/stats_counters* | 58 src:*base/stats_counters* |
60 src:*base/thread_local_storage* | 59 src:*base/thread_local_storage* |
61 | 60 |
| 61 # Don't instrument code dealing with atomics (base::subtle) |
| 62 fun:*base*subtle*Release_Store* |
| 63 fun:*base*subtle*NoBarrier_CompareAndSwap* |
| 64 |
62 # Don't instrument tcmalloc | 65 # Don't instrument tcmalloc |
63 src:*/tcmalloc/* | 66 src:*/tcmalloc/* |
64 | 67 |
65 # This function is heavy in net_unittests | 68 # This function is heavy in net_unittests |
66 fun_r:*disk_cache*BackendImpl*CheckAllEntries* | 69 fun_r:*disk_cache*BackendImpl*CheckAllEntries* |
67 | 70 |
68 # V8 is a hot-spot under ThreadSanitizer. | 71 # V8 is a hot-spot under ThreadSanitizer. |
69 # Lots of tiny functions there... | 72 # Lots of tiny functions there... |
70 # TODO(timurrrr): | 73 # TODO(timurrrr): |
71 # Can we miss data races on V8 objects due to non thread-safe API calls | 74 # Can we miss data races on V8 objects due to non thread-safe API calls |
(...skipping 25 matching lines...) Expand all Loading... |
97 # There's some weird failure test going on in this tiny test function in sqlite | 100 # There's some weird failure test going on in this tiny test function in sqlite |
98 fun_r:threadLockingTest | 101 fun_r:threadLockingTest |
99 | 102 |
100 # Ignore accesses below GetCurrentThreadIdentifier. | 103 # Ignore accesses below GetCurrentThreadIdentifier. |
101 # There is a benign race which is hard to suppress properly, | 104 # There is a benign race which is hard to suppress properly, |
102 # see http://crbug.com/44580 | 105 # see http://crbug.com/44580 |
103 fun_r:*BrowserThread*GetCurrentThreadIdentifier* | 106 fun_r:*BrowserThread*GetCurrentThreadIdentifier* |
104 | 107 |
105 # zlib is smarter than we are, see http://www.zlib.net/zlib_faq.html#faq36 | 108 # zlib is smarter than we are, see http://www.zlib.net/zlib_faq.html#faq36 |
106 fun_r:inflate | 109 fun_r:inflate |
OLD | NEW |