xref: /freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/fuchsia.h (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
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 <zircon/process.h>
17 
18 namespace scudo {
19 
20 struct MapPlatformData {
21   zx_handle_t Vmar;
22   zx_handle_t Vmo;
23   uintptr_t VmarBase;
24   uint64_t VmoSize;
25 };
26 
27 } // namespace scudo
28 
29 #endif // SCUDO_FUCHSIA
30 
31 #endif // SCUDO_FUCHSIA_H_
32