[DominatorTree] Add support for mixed pre/post CFG views.
[llvm-project.git] / compiler-rt / lib / asan / asan_premap_shadow.h
blobc9c886e8dca775c629510ec02fef37456256e257
1 //===-- asan_mapping.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 // This file is a part of AddressSanitizer, an address sanity checker.
11 // Premap shadow range with an ifunc resolver.
12 //===----------------------------------------------------------------------===//
15 #ifndef ASAN_PREMAP_SHADOW_H
16 #define ASAN_PREMAP_SHADOW_H
18 #if ASAN_PREMAP_SHADOW
19 namespace __asan {
20 // Conservative upper limit.
21 uptr PremapShadowSize();
22 bool PremapShadowFailed();
24 #endif
26 extern "C" INTERFACE_ATTRIBUTE void __asan_shadow();
27 extern "C" decltype(__asan_shadow)* __asan_premap_shadow();
29 #endif // ASAN_PREMAP_SHADOW_H