blob: 4b1bc1596ce55913b2fd1cde15e015f2de006763 [file] [log] [blame]
Derek Bruening88639852016-05-25 02:04:04 +00001//===-- working_set.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// This file is a part of EfficiencySanitizer, a family of performance tuners.
11//
12// Header for working-set-specific code.
13//===----------------------------------------------------------------------===//
14
15#ifndef WORKING_SET_H
16#define WORKING_SET_H
17
18#include "interception/interception.h"
19#include "sanitizer_common/sanitizer_internal_defs.h"
20
21namespace __esan {
22
23void initializeWorkingSet();
24int finalizeWorkingSet();
25void processRangeAccessWorkingSet(uptr PC, uptr Addr, SIZE_T Size,
26 bool IsWrite);
27
28} // namespace __esan
29
30#endif // WORKING_SET_H