[compiler-rt] [scudo] Pass the max number of blocks to popBlocks (PR #70243)

Christopher Ferris via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 25 17:09:29 PDT 2023


================
@@ -191,13 +191,15 @@ template <typename Config> class SizeClassAllocator32 {
     return BlockSize > PageSize;
   }
 
-  u16 popBlocks(CacheT *C, uptr ClassId, CompactPtrT *ToArray) {
+  u16 popBlocks(CacheT *C, uptr ClassId, CompactPtrT *ToArray,
+                const u16 MaxBlockCount) {
----------------
cferris1000 wrote:

It doesn't appear this value is used any place, is that expected?

https://github.com/llvm/llvm-project/pull/70243


More information about the llvm-commits mailing list