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