diff options
author | Derek Bruening <bruening@google.com> | 2016-06-13 16:16:49 +0000 |
---|---|---|
committer | Derek Bruening <bruening@google.com> | 2016-06-13 16:16:49 +0000 |
commit | 97a35f8a8e9741e9157c0afdbb48a9db99d8a718 (patch) | |
tree | b85b137b49b5a969201a29868e71cd124e6c4b47 /lib/esan/working_set.cpp | |
parent | d5a0419aecd169af9f26b6f7254ff2ef555e497f (diff) |
Revert "[sanitizer][esan] Add internal_sigaction_syscall"
This reverts commit r272553.
The iOS build fails to link.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@272557 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/esan/working_set.cpp')
-rw-r--r-- | lib/esan/working_set.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/esan/working_set.cpp b/lib/esan/working_set.cpp index 622fd29e8..9e7520f49 100644 --- a/lib/esan/working_set.cpp +++ b/lib/esan/working_set.cpp @@ -182,13 +182,10 @@ static void takeSample(void *Arg) { } } -// Initialization that must be done before any instrumented code is executed. -void initializeShadowWorkingSet() { +void initializeWorkingSet() { CHECK(getFlags()->cache_line_size == CacheLineSize); registerMemoryFaultHandler(); -} -void initializeWorkingSet() { if (getFlags()->record_snapshots) { for (u32 i = 0; i < NumFreq; ++i) SizePerFreq[i].initialize(CircularBufferSizes[i]); |