[compiler-rt] [scudo] Refactor store() and retrieve(). (PR #102024)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 5 13:03:03 PDT 2024
================
@@ -665,6 +648,60 @@ template <typename Config> class MapAllocator {
LocalStats Stats GUARDED_BY(Mutex);
};
+template <typename Config>
+void *MapAllocator<Config>::tryAllocateFromCache(
+ const Options &Options, uptr Size, uptr Alignment, uptr HeadersSize,
----------------
ChiaHungDuan wrote:
Do we need `HeaderSize`? I think we can call `getHeaderSize()` in the function.
https://github.com/llvm/llvm-project/pull/102024
More information about the llvm-commits
mailing list