[PATCH] D61745: [scudo][standalone] Introduce the Primary(s) and LocalCache
Kostya Kortchinsky via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 16 08:10:04 PDT 2019
cryptoad updated this revision to Diff 199834.
cryptoad added a comment.
Simplify a lot of the functions prototypes by storing a pointer to the
size-class allocator in the cache, or getting the stats from the cache,
etc.
As for avoid the apparent cycle (note that in reality it only recurses
twice at most), currently I do not see a way of getting rid of it while
conserving the properties we want.
Repository:
rCRT Compiler Runtime
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61745/new/
https://reviews.llvm.org/D61745
Files:
lib/scudo/standalone/CMakeLists.txt
lib/scudo/standalone/local_cache.h
lib/scudo/standalone/primary32.h
lib/scudo/standalone/primary64.h
lib/scudo/standalone/tests/CMakeLists.txt
lib/scudo/standalone/tests/primary_test.cc
lib/scudo/standalone/tests/secondary_test.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61745.199834.patch
Type: text/x-patch
Size: 41669 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190516/cf10040b/attachment.bin>
More information about the llvm-commits
mailing list