]> git.ipfire.org Git - thirdparty/gcc.git/blob - libsanitizer/sanitizer_common/sanitizer_fuchsia.h
5a2ad32b4113b92dac27cf5c8c8c342b3a714c51
[thirdparty/gcc.git] / libsanitizer / sanitizer_common / sanitizer_fuchsia.h
1 //===-- sanitizer_fuchsia.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 // Fuchsia-specific sanitizer support.
10 //
11 //===---------------------------------------------------------------------===//
12 #ifndef SANITIZER_FUCHSIA_H
13 #define SANITIZER_FUCHSIA_H
14
15 #include "sanitizer_platform.h"
16 #if SANITIZER_FUCHSIA
17
18 #include "sanitizer_common.h"
19
20 #include <zircon/sanitizer.h>
21
22 namespace __sanitizer {
23
24 extern uptr MainThreadStackBase, MainThreadStackSize;
25 extern sanitizer_shadow_bounds_t ShadowBounds;
26
27 } // namespace __sanitizer
28
29 #endif // SANITIZER_FUCHSIA
30 #endif // SANITIZER_FUCHSIA_H