1//===-- linux.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_LINUX_H_
10#define SCUDO_LINUX_H_
11
12#include "platform.h"
13
14#if SCUDO_LINUX
15
16namespace scudo {
17
18// MapPlatformData is unused on Linux, define it as a minimally sized structure.
19struct MapPlatformData {};
20
21} // namespace scudo
22
23#endif // SCUDO_LINUX
24
25#endif // SCUDO_LINUX_H_
26

source code of compiler-rt/lib/scudo/standalone/linux.h