[PATCH] D43901: Make STATISTIC() values available programmatically

Roman Tereshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 1 22:53:18 PST 2018


rtereshin added a comment.

Alternatively, we could just copy the whole thing instead of returning iterators to it. Potentially protect that copy with that mutex and then we're rock solid.
But again, why do we even worry about this being thread-safe in any way one more time?


Repository:
  rL LLVM

https://reviews.llvm.org/D43901





More information about the llvm-commits mailing list