[compiler-rt] [scudo] Skip special quarantine blocks in iterateOverChunks (PR #159892)
Christopher Ferris via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 22 13:55:53 PDT 2025
================
@@ -101,7 +101,8 @@ class Allocator {
Chunk::UnpackedHeader Header = {};
Header.ClassId = QuarantineClassId & Chunk::ClassIdMask;
Header.SizeOrUnusedBytes = sizeof(QuarantineBatch);
- Header.State = Chunk::State::Allocated;
+ // Do not use Allocated or this block will show up in iterateOverChunks.
----------------
cferris1000 wrote:
I just removed the comment.
As to the other thing, yeah we should rename this but I think it's low on the list of priorities so I'm going to leave it alone for now.
https://github.com/llvm/llvm-project/pull/159892
More information about the llvm-commits
mailing list