[compiler-rt] [scudo] Don't preserve space for regions at init() (DO NOT MERGE) (PR #74531)

via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 2 09:53:36 PST 2024


================
@@ -129,7 +129,7 @@ void MemMapLinux::releaseAndZeroPagesToOSImpl(uptr From, uptr Size) {
 bool ReservedMemoryLinux::createImpl(uptr Addr, uptr Size, const char *Name,
                                      uptr Flags) {
   ReservedMemoryLinux::MemMapT MemMap;
-  if (!MemMap.map(Addr, Size, Name, Flags | MAP_NOACCESS))
----------------
ChiaHungDuan wrote:

As mentioned in the description, this is just a proof-of-concept so most stuff are quick changes. The formal CL will review all the logic later

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


More information about the llvm-commits mailing list