trusty.h 662 B

123456789101112131415161718192021222324
  1. //===-- trusty.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. #ifndef SCUDO_TRUSTY_H_
  9. #define SCUDO_TRUSTY_H_
  10. #include "platform.h"
  11. #if SCUDO_TRUSTY
  12. namespace scudo {
  13. // MapPlatformData is unused on Trusty, define it as a minimially sized
  14. // structure.
  15. struct MapPlatformData {};
  16. } // namespace scudo
  17. #endif // SCUDO_TRUSTY
  18. #endif // SCUDO_TRUSTY_H_