[PATCH] D50080: [Support] Use atomics in DebugCounter to silence TSAN

Ilya Biryukov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 31 09:57:07 PDT 2018


ilya-biryukov created this revision.
ilya-biryukov added reviewers: bkramer, zhizhouy, gbiv, davide.
Herald added a reviewer: george.burgess.iv.
Herald added a subscriber: jfb.

Note that the change does not aim to define semantics of DebugCounter
for multi-threaded code.


Repository:
  rL LLVM

https://reviews.llvm.org/D50080

Files:
  include/llvm/Support/DebugCounter.h
  unittests/Support/DebugCounterTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50080.158312.patch
Type: text/x-patch
Size: 3061 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180731/fc2a9240/attachment.bin>


More information about the llvm-commits mailing list