[compiler-rt] [scudo] Allow the quarantine code to be compiled out (PR #151064)

Christopher Ferris via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 30 17:55:09 PDT 2025


================
@@ -276,16 +277,18 @@ class Allocator {
   //   the last two items).
   void commitBack(TSD<ThisT> *TSD) {
     TSD->assertLocked(/*BypassCheck=*/true);
-    Quarantine.drain(&TSD->getQuarantineCache(),
-                     QuarantineCallback(*this, TSD->getSizeClassAllocator()));
+    if (!AllocatorConfig::getQuarantineDisabled())
----------------
cferris1000 wrote:

Fixed.

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


More information about the llvm-commits mailing list