diff options
Diffstat (limited to 'contrib/llvm-project/compiler-rt/lib/scudo/standalone/trusty.h')
| -rw-r--r-- | contrib/llvm-project/compiler-rt/lib/scudo/standalone/trusty.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/contrib/llvm-project/compiler-rt/lib/scudo/standalone/trusty.h b/contrib/llvm-project/compiler-rt/lib/scudo/standalone/trusty.h new file mode 100644 index 000000000000..50edd1c6fe63 --- /dev/null +++ b/contrib/llvm-project/compiler-rt/lib/scudo/standalone/trusty.h @@ -0,0 +1,24 @@ +//===-- trusty.h -----------------------------------------------*- C++ -*-===// +// +// 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 +// +//===----------------------------------------------------------------------===// + +#ifndef SCUDO_TRUSTY_H_ +#define SCUDO_TRUSTY_H_ + +#include "platform.h" + +#if SCUDO_TRUSTY + +namespace scudo { +// MapPlatformData is unused on Trusty, define it as a minimially sized +// structure. +struct MapPlatformData {}; +} // namespace scudo + +#endif // SCUDO_TRUSTY + +#endif // SCUDO_TRUSTY_H_ |
