diff options
Diffstat (limited to 'contrib/llvm-project/compiler-rt/lib/scudo/standalone/linux.h')
-rw-r--r-- | contrib/llvm-project/compiler-rt/lib/scudo/standalone/linux.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/contrib/llvm-project/compiler-rt/lib/scudo/standalone/linux.h b/contrib/llvm-project/compiler-rt/lib/scudo/standalone/linux.h new file mode 100644 index 000000000000..72acb6da83a7 --- /dev/null +++ b/contrib/llvm-project/compiler-rt/lib/scudo/standalone/linux.h @@ -0,0 +1,25 @@ +//===-- linux.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_LINUX_H_ +#define SCUDO_LINUX_H_ + +#include "platform.h" + +#if SCUDO_LINUX + +namespace scudo { + +// MapPlatformData is unused on Linux, define it as a minimally sized structure. +struct MapPlatformData {}; + +} // namespace scudo + +#endif // SCUDO_LINUX + +#endif // SCUDO_LINUX_H_ |