[PATCH] D58612: Use std::atomic<> for static counters.

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 25 07:25:07 PST 2019


alexfh added a comment.

In D58612#1408942 <https://reviews.llvm.org/D58612#1408942>, @riccibruno wrote:

> Okay, but what about the other similar uses of static members which have the same problem ?


Do you have any example in mind? I've only seen TSan warnings for these counters, nothing else so far.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58612/new/

https://reviews.llvm.org/D58612





More information about the cfe-commits mailing list