diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2021-07-09 19:29:41 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-07-12 11:46:49 +0200 |
| commit | 0da172b1766e1559ef677aa836dce4f1995dfef3 (patch) | |
| tree | ade9ad18cd603a72fd1ed3df63fa881ce1576afa /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 41ba96f53127902ede26606e6f15a053b5f9c096 (diff) | |
sanitizer_common: add thread safety annotations
Enable clang Thread Safety Analysis for sanitizers:
https://clang.llvm.org/docs/ThreadSafetyAnalysis.html
Thread Safety Analysis can detect inconsistent locking,
deadlocks and data races. Without GUARDED_BY annotations
it has limited value. But this does all the heavy lifting
to enable analysis and allows to add GUARDED_BY incrementally.
Reviewed By: melver
Differential Revision: https://reviews.llvm.org/D105716
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
