xref: /freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/fuchsia.h (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1 //===-- 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 #ifndef SCUDO_FUCHSIA_H_
10 #define SCUDO_FUCHSIA_H_
11 
12 #include "platform.h"
13 
14 #if SCUDO_FUCHSIA
15 
16 #include <stdint.h>
17 #include <zircon/types.h>
18 
19 namespace scudo {
20 
21 struct MapPlatformData {
22   zx_handle_t Vmar;
23   zx_handle_t Vmo;
24   uintptr_t VmarBase;
25   uint64_t VmoSize;
26 };
27 
28 } // namespace scudo
29 
30 #endif // SCUDO_FUCHSIA
31 
32 #endif // SCUDO_FUCHSIA_H_
33