diff options
author | Derek Bruening <bruening@google.com> | 2016-05-25 02:04:04 +0000 |
---|---|---|
committer | Derek Bruening <bruening@google.com> | 2016-05-25 02:04:04 +0000 |
commit | 9dfeca2386c28762468cddb4c9e16bfa8f25a15e (patch) | |
tree | 528f86e1eb45776197bf5caf38ce4358bf99be78 /lib/esan/esan_interface_internal.h | |
parent | 916e15d6c3509ca54d23dd2e7b8af39814649206 (diff) |
Add working set base runtime library
Summary:
Adds the base runtime library for the working set tool.
Adds slowpath code for updating the shadow memory.
To be added in the future:
+ Scan memory and report the total size.
+ Take samples for intermediate values.
Reviewers: aizatsky
Subscribers: kubabrecka, vitalybuka, zhaoqin, kcc, eugenis, llvm-commits
Differential Revision: http://reviews.llvm.org/D20485
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@270650 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/esan/esan_interface_internal.h')
-rw-r--r-- | lib/esan/esan_interface_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/esan/esan_interface_internal.h b/lib/esan/esan_interface_internal.h index 577c7e3cf..83e0433c7 100644 --- a/lib/esan/esan_interface_internal.h +++ b/lib/esan/esan_interface_internal.h @@ -28,6 +28,8 @@ extern "C" { typedef enum Type : u32 { ESAN_None = 0, ESAN_CacheFrag, + ESAN_WorkingSet, + ESAN_Max, } ToolType; // This function should be called at the very beginning of the process, |