]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/compiler-rt/lib/scudo/scudo_interface_internal.h
MFV r350898: 8423 8199 7432 Implement large_dnode pool feature
[FreeBSD/FreeBSD.git] / contrib / compiler-rt / lib / scudo / scudo_interface_internal.h
1 //===-- scudo_interface_internal.h ------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 ///
10 /// Private Scudo interface header.
11 ///
12 //===----------------------------------------------------------------------===//
13
14 #ifndef SCUDO_INTERFACE_INTERNAL_H_
15 #define SCUDO_INTERFACE_INTERNAL_H_
16
17 #include "sanitizer_common/sanitizer_internal_defs.h"
18
19 using __sanitizer::uptr;
20 using __sanitizer::s32;
21
22 extern "C" {
23 SANITIZER_INTERFACE_ATTRIBUTE SANITIZER_WEAK_ATTRIBUTE
24 const char* __scudo_default_options();
25
26 SANITIZER_INTERFACE_ATTRIBUTE
27 void __scudo_set_rss_limit(uptr LimitMb, s32 HardLimit);
28
29 SANITIZER_INTERFACE_ATTRIBUTE
30 void __scudo_print_stats();
31 }  // extern "C"
32
33 #endif  // SCUDO_INTERFACE_INTERNAL_H_