[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:59:43 PDT 2018


ilya-biryukov added a comment.

This change is a bit ugly since it has to account for the value of LLVM_ENABLE_THREADS...
Happy to accept suggestions/alternative ways to fix this :-)


Repository:
  rL LLVM

https://reviews.llvm.org/D50080





More information about the llvm-commits mailing list