]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/compiler-rt/lib/sanitizer_common/sanitizer_fuchsia.h
Merge compiler-rt trunk r321017 to contrib/compiler-rt.
[FreeBSD/FreeBSD.git] / contrib / compiler-rt / lib / sanitizer_common / sanitizer_fuchsia.h
1 //===-- sanitizer_fuchsia.h ------------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===---------------------------------------------------------------------===//
9 //
10 // Fuchsia-specific sanitizer support.
11 //
12 //===---------------------------------------------------------------------===//
13 #ifndef SANITIZER_FUCHSIA_H
14 #define SANITIZER_FUCHSIA_H
15
16 #include "sanitizer_platform.h"
17 #if SANITIZER_FUCHSIA
18
19 #include "sanitizer_common.h"
20
21 #include <zircon/sanitizer.h>
22
23 namespace __sanitizer {
24
25 extern uptr MainThreadStackBase, MainThreadStackSize;
26 extern sanitizer_shadow_bounds_t ShadowBounds;
27
28 }  // namespace __sanitizer
29
30 #endif  // SANITIZER_FUCHSIA
31 #endif  // SANITIZER_FUCHSIA_H