tsan: model atomic read for failing CAS
See the added test and https://github.com/google/sanitizers/issues/1520 for the description of the problem. The standard says that failing CAS is a memory load only, model it as such to avoid false positives. Reviewed By: melver Differential Revision: https://reviews.llvm.org/D124507
Loading
Please sign in to comment