]>
git.proxmox.com Git - rustc.git/blob - src/compiler-rt/lib/esan/working_set.h
1 //===-- working_set.h -------------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file is a part of EfficiencySanitizer, a family of performance tuners.
12 // Header for working-set-specific code.
13 //===----------------------------------------------------------------------===//
18 #include "interception/interception.h"
19 #include "sanitizer_common/sanitizer_internal_defs.h"
23 void initializeWorkingSet();
24 void initializeShadowWorkingSet();
25 int finalizeWorkingSet();
26 void reportWorkingSet();
27 void processRangeAccessWorkingSet(uptr PC
, uptr Addr
, SIZE_T Size
,
30 // Platform-dependent.
31 void registerMemoryFaultHandler();
32 bool processWorkingSetSignal(int SigNum
, void (*Handler
)(int),
33 void (**Result
)(int));
34 bool processWorkingSetSigaction(int SigNum
, const void *Act
, void *OldAct
);
35 bool processWorkingSetSigprocmask(int How
, void *Set
, void *OldSet
);
39 #endif // WORKING_SET_H