blob: 7e8a12c834b41ca781f50085b823a051a18a5395 [file] [log] [blame]
Kostya Kortchinskyf22f5fe2017-12-13 20:41:35 +00001//===-- 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
Kostya Kortchinsky541c5a02018-01-04 17:05:04 +000017#include "sanitizer_common/sanitizer_internal_defs.h"
18
19using __sanitizer::uptr;
20using __sanitizer::s32;
21
Kostya Kortchinskyf22f5fe2017-12-13 20:41:35 +000022extern "C" {
23SANITIZER_INTERFACE_ATTRIBUTE
Kostya Kortchinsky541c5a02018-01-04 17:05:04 +000024void __scudo_set_rss_limit(uptr LimitMb, s32 HardLimit);
Kostya Kortchinskyf22f5fe2017-12-13 20:41:35 +000025} // extern "C"
26
27#endif // SCUDO_INTERFACE_INTERNAL_H_