//===-- memprof_shadow_setup.cpp -----------------------------------------===// // // 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 // //===----------------------------------------------------------------------===// // // This file is a part of MemProfiler, a memory profiler. // // Set up the shadow memory. //===----------------------------------------------------------------------===// #include "sanitizer_common/sanitizer_platform.h" #include "memprof_internal.h" #include "memprof_mapping.h" namespace __memprof { static void ProtectGap(uptr addr, uptr size) { … } void InitializeShadowMemory() { … } } // namespace __memprof