• Home
Name Date Size #Lines LOC

..--

BUILD.gnD03-May-2024936 2826

DEPSD03-May-2024159 54

LICENSED03-May-20241.4 KiB2928

README.chromiumD03-May-20241.3 KiB2722

dynamic_annotations.cD03-May-20249.3 KiB270169

dynamic_annotations.hD03-May-202426.4 KiB598313

dynamic_annotations_compiletest.ccD03-May-2024483 112

README.chromium

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