diff options
Diffstat (limited to 'chromium/base/third_party/dynamic_annotations/README.chromium')
-rw-r--r-- | chromium/base/third_party/dynamic_annotations/README.chromium | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chromium/base/third_party/dynamic_annotations/README.chromium b/chromium/base/third_party/dynamic_annotations/README.chromium index dc8bdef0531..ff21b19e502 100644 --- a/chromium/base/third_party/dynamic_annotations/README.chromium +++ b/chromium/base/third_party/dynamic_annotations/README.chromium @@ -3,6 +3,13 @@ URL: http://code.google.com/p/data-race-test/wiki/DynamicAnnotations Version: 4384 License: BSD +ATTENTION: please avoid using these annotations in Chromium code. +They were mainly intended to instruct the Valgrind-based version of +ThreadSanitizer to handle atomic operations. The new version of ThreadSanitizer +based on compiler instrumentation understands atomic operations out of the box, +so normally you don't need the annotations. +If you still think you do, please consider writing a comment at http://crbug.com/349861 + One header and one source file (dynamic_annotations.h and dynamic_annotations.c) in this directory define runtime macros useful for annotating synchronization utilities and benign data races so data race detectors can handle Chromium code |