[all-commits] [llvm/llvm-project] 2fec52: tsan: model atomic read for failing CAS
Dmitry Vyukov via All-commits
all-commits at lists.llvm.org
Mon May 2 03:58:08 PDT 2022
Author: Dmitry Vyukov <dvyukov at google.com>
Date: 2022-05-02 (Mon, 02 May 2022)
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
More information about the All-commits