[PATCH] D59031: [scudo][standalone] Adding a stats class

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 6 09:52:09 PST 2019


cryptoad created this revision.
cryptoad added reviewers: morehouse, vitalybuka, eugenis, flowerhack, dmmoore415.
Herald added subscribers: Sanitizers, jfb, delcypher, mgorny.
Herald added projects: LLVM, Sanitizers.

This adds simple local & global stats classes to be used by the Primary
and Secondary, and associated test. Note that we don't need the strict
atomicity of the addition & subtraction (as is in sanitizer_common) so
we just use load & store.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D59031

Files:
  lib/scudo/standalone/CMakeLists.txt
  lib/scudo/standalone/stats.h
  lib/scudo/standalone/tests/CMakeLists.txt
  lib/scudo/standalone/tests/stats_test.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59031.189529.patch
Type: text/x-patch
Size: 5323 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190306/c4ab43d8/attachment.bin>


More information about the llvm-commits mailing list