OLD | NEW |
1 Name: dynamic annotations | 1 Name: dynamic annotations |
2 URL: http://code.google.com/p/data-race-test/wiki/DynamicAnnotations | 2 URL: http://code.google.com/p/data-race-test/wiki/DynamicAnnotations |
3 Version: 4384 | 3 Version: 4384 |
4 License: BSD | 4 License: BSD |
5 | 5 |
6 ATTENTION: please avoid using these annotations in Chromium code. | 6 ATTENTION: please avoid using these annotations in Chromium code. |
7 They were mainly intended to instruct the Valgrind-based version of | 7 They were mainly intended to instruct the Valgrind-based version of |
8 ThreadSanitizer to handle atomic operations. The new version of ThreadSanitizer | 8 ThreadSanitizer to handle atomic operations. The new version of ThreadSanitizer |
9 based on compiler instrumentation understands atomic operations out of the box, | 9 based on compiler instrumentation understands atomic operations out of the box, |
10 so normally you don't need the annotations. | 10 so normally you don't need the annotations. |
11 If you still think you do, please consider writing a comment at http://crbug.com
/349861 | 11 If you still think you do, please consider writing a comment at http://crbug.com
/349861 |
12 | 12 |
13 One header and one source file (dynamic_annotations.h and dynamic_annotations.c) | 13 One header and one source file (dynamic_annotations.h and dynamic_annotations.c) |
14 in this directory define runtime macros useful for annotating synchronization | 14 in this directory define runtime macros useful for annotating synchronization |
15 utilities and benign data races so data race detectors can handle Chromium code | 15 utilities and benign data races so data race detectors can handle Chromium code |
16 with better precision. | 16 with better precision. |
17 | 17 |
18 These files were taken from | 18 These files were taken from |
19 http://code.google.com/p/data-race-test/source/browse/?#svn/trunk/dynamic_annota
tions | 19 http://code.google.com/p/data-race-test/source/browse/?#svn/trunk/dynamic_annota
tions |
20 The files are covered under BSD license as described within the files. | 20 The files are covered under BSD license as described within the files. |
| 21 |
| 22 Local modifications: |
| 23 * made lineno an unsigned short (for -Wconstant-conversion warning fixes) |
OLD | NEW |