diff options
author | Derek Bruening <bruening@google.com> | 2016-04-23 16:41:24 +0000 |
---|---|---|
committer | Derek Bruening <bruening@google.com> | 2016-04-23 16:41:24 +0000 |
commit | 5d4cf0cc374036478e6227110f022fed3fe4df52 (patch) | |
tree | 1ae1a16664a583a182cf972217bb21bc04467934 /lib/esan/esan.cpp | |
parent | 3142d42c05df58aec0469c1c42e60752435a041a (diff) |
[esan] EfficiencySanitizer libc interceptors
Summary:
Adds libc interceptors to the runtime library for the new
EfficiencySanitizer ("esan") family of tools. The interceptors cover
the memory operations in most common library calls and will be shared
among all esan tools.
Reviewers: aizatsky
Subscribers: zhaoqin, tberghammer, danalbert, srhines, llvm-commits, vitalybuka, eugenis, kcc
Differential Revision: http://reviews.llvm.org/D19411
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@267293 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/esan/esan.cpp')
-rw-r--r-- | lib/esan/esan.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/esan/esan.cpp b/lib/esan/esan.cpp index 566d13995..1c5332795 100644 --- a/lib/esan/esan.cpp +++ b/lib/esan/esan.cpp @@ -95,6 +95,8 @@ void initializeLibrary(ToolType Tool) { Die(); } + initializeInterceptors(); + EsanIsInitialized = true; } |