[compiler-rt] 7672a5c - [scudo] Fix wrong return type. (#168157)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 17 10:59:08 PST 2025
Author: Christopher Ferris
Date: 2025-11-17T10:59:04-08:00
New Revision: 7672a5cee12a299a083b93a6d304b27ab3f4707f
URL: https://github.com/llvm/llvm-project/commit/7672a5cee12a299a083b93a6d304b27ab3f4707f
DIFF: https://github.com/llvm/llvm-project/commit/7672a5cee12a299a083b93a6d304b27ab3f4707f.diff
LOG: [scudo] Fix wrong return type. (#168157)
Added:
Modified:
compiler-rt/lib/scudo/standalone/primary64.h
Removed:
################################################################################
diff --git a/compiler-rt/lib/scudo/standalone/primary64.h b/compiler-rt/lib/scudo/standalone/primary64.h
index 747b1a2233d32..c2401c86671d0 100644
--- a/compiler-rt/lib/scudo/standalone/primary64.h
+++ b/compiler-rt/lib/scudo/standalone/primary64.h
@@ -1394,7 +1394,7 @@ uptr SizeClassAllocator64<Config>::releaseToOSMaybe(RegionInfo *Region,
Region->FreeListInfo.PushedBlocks) *
BlockSize;
if (UNLIKELY(BytesInFreeList == 0))
- return false;
+ return 0;
// ==================================================================== //
// 1. Check if we have enough free blocks and if it's worth doing a page
More information about the llvm-commits
mailing list