2017-08-02 06:22:25 +08:00
|
|
|
//===-- sanitizer_fuchsia.h ------------------------------------*- C++ -*-===//
|
|
|
|
//
|
2019-01-19 16:50:56 +08:00
|
|
|
// 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
|
2017-08-02 06:22:25 +08:00
|
|
|
//
|
|
|
|
//===---------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// Fuchsia-specific sanitizer support.
|
|
|
|
//
|
|
|
|
//===---------------------------------------------------------------------===//
|
|
|
|
#ifndef SANITIZER_FUCHSIA_H
|
|
|
|
#define SANITIZER_FUCHSIA_H
|
|
|
|
|
|
|
|
#include "sanitizer_platform.h"
|
|
|
|
#if SANITIZER_FUCHSIA
|
|
|
|
|
|
|
|
#include "sanitizer_common.h"
|
|
|
|
|
2017-09-13 09:18:15 +08:00
|
|
|
#include <zircon/sanitizer.h>
|
2017-08-02 06:22:25 +08:00
|
|
|
|
|
|
|
namespace __sanitizer {
|
|
|
|
|
|
|
|
extern uptr MainThreadStackBase, MainThreadStackSize;
|
|
|
|
extern sanitizer_shadow_bounds_t ShadowBounds;
|
|
|
|
|
|
|
|
} // namespace __sanitizer
|
|
|
|
|
|
|
|
#endif // SANITIZER_FUCHSIA
|
|
|
|
#endif // SANITIZER_FUCHSIA_H
|