[PATCH] D68653: [scudo][standalone] Get statistics in a char buffer
Matt Morehouse via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 8 18:37:27 PDT 2019
morehouse accepted this revision.
morehouse added inline comments.
This revision is now accepted and ready to land.
================
Comment at: lib/scudo/standalone/tests/combined_test.cpp:141
+ scudo::uptr BufferSize = 8192;
+ char *Buffer = new char[BufferSize];
+ scudo::uptr ActualSize = Allocator->getStats(Buffer, BufferSize);
----------------
Nit: `std::unique_ptr` or `std::vector`
Repository:
rCRT Compiler Runtime
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68653/new/
https://reviews.llvm.org/D68653
More information about the llvm-commits
mailing list