xref: /openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/trusty.h (revision d89ec533011f513df1010f142a111086a0785f09)
1*d89ec533Spatrick //===-- trusty.h -----------------------------------------------*- C++ -*-===//
2*d89ec533Spatrick //
3*d89ec533Spatrick // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*d89ec533Spatrick // See https://llvm.org/LICENSE.txt for license information.
5*d89ec533Spatrick // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*d89ec533Spatrick //
7*d89ec533Spatrick //===----------------------------------------------------------------------===//
8*d89ec533Spatrick 
9*d89ec533Spatrick #ifndef SCUDO_TRUSTY_H_
10*d89ec533Spatrick #define SCUDO_TRUSTY_H_
11*d89ec533Spatrick 
12*d89ec533Spatrick #include "platform.h"
13*d89ec533Spatrick 
14*d89ec533Spatrick #if SCUDO_TRUSTY
15*d89ec533Spatrick 
16*d89ec533Spatrick namespace scudo {
17*d89ec533Spatrick // MapPlatformData is unused on Trusty, define it as a minimially sized
18*d89ec533Spatrick // structure.
19*d89ec533Spatrick struct MapPlatformData {};
20*d89ec533Spatrick } // namespace scudo
21*d89ec533Spatrick 
22*d89ec533Spatrick #endif // SCUDO_TRUSTY
23*d89ec533Spatrick 
24*d89ec533Spatrick #endif // SCUDO_TRUSTY_H_
25