Daily bump.
[official-gcc.git] / libsanitizer / sanitizer_common / sanitizer_mallinfo.h
blob4e58c02df835190d9211ab5282287ef5b58fd33f
1 //===-- sanitizer_mallinfo.h ----------------------------------------------===//
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 // This file is a part of Sanitizer common code.
11 // Definition for mallinfo on different platforms.
12 //===----------------------------------------------------------------------===//
14 #ifndef SANITIZER_MALLINFO_H
15 #define SANITIZER_MALLINFO_H
17 #include "sanitizer_internal_defs.h"
18 #include "sanitizer_platform.h"
20 namespace __sanitizer {
22 #if SANITIZER_ANDROID
24 struct __sanitizer_struct_mallinfo {
25 uptr v[10];
28 #elif SANITIZER_LINUX || SANITIZER_APPLE || SANITIZER_FUCHSIA
30 struct __sanitizer_struct_mallinfo {
31 int v[10];
34 #endif
36 } // namespace __sanitizer
38 #endif // SANITIZER_MALLINFO_H