llvm/compiler-rt/lib/scudo/standalone/mem_map.cpp

//===-- mem_map.cpp ---------------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "mem_map.h"

#include "common.h"

namespace scudo {

bool MemMapDefault::mapImpl(uptr Addr, uptr Size, const char *Name,
                            uptr Flags) {}

void MemMapDefault::unmapImpl(uptr Addr, uptr Size) {}

bool MemMapDefault::remapImpl(uptr Addr, uptr Size, const char *Name,
                              uptr Flags) {}

void MemMapDefault::releaseAndZeroPagesToOSImpl(uptr From, uptr Size) {}

void MemMapDefault::setMemoryPermissionImpl(uptr Addr, uptr Size, uptr Flags) {}

void ReservedMemoryDefault::releaseImpl() {}

bool ReservedMemoryDefault::createImpl(uptr Addr, uptr Size, const char *Name,
                                       uptr Flags) {}

ReservedMemoryDefault::MemMapT ReservedMemoryDefault::dispatchImpl(uptr Addr,
                                                                   uptr Size) {}

} // namespace scudo