d: Merge upstream dmd, druntime c8ae4adb2e, phobos 792c8b7c1.
[official-gcc.git] / libsanitizer / hwasan / hwasan_dynamic_shadow.h
blob3c2e7c716a3465e117255e93841f734e07198e5a
1 //===-- hwasan_dynamic_shadow.h ---------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 ///
9 /// \file
10 /// This file is a part of HWAddressSanitizer. It reserves dynamic shadow memory
11 /// region.
12 ///
13 //===----------------------------------------------------------------------===//
15 #ifndef HWASAN_PREMAP_SHADOW_H
16 #define HWASAN_PREMAP_SHADOW_H
18 #include "sanitizer_common/sanitizer_internal_defs.h"
20 namespace __hwasan {
22 uptr FindDynamicShadowStart(uptr shadow_size_bytes);
23 void InitShadowGOT();
25 } // namespace __hwasan
27 #endif // HWASAN_PREMAP_SHADOW_H