diff options
| author | Nico Weber <nicolasweber@gmx.de> | 2016-06-14 12:39:22 +0000 |
|---|---|---|
| committer | Nico Weber <nicolasweber@gmx.de> | 2016-06-14 12:39:22 +0000 |
| commit | be7aa544f00eefb08ed442d6f967203c1369f95a (patch) | |
| tree | b971271e95f6fd346fd836f50f5d55f12259f54e /compiler-rt/lib/esan/working_set.cpp | |
| parent | 223676d2ccc94fecb68cc0c00c02a6ee9d7aec9d (diff) | |
| download | bcm5719-llvm-be7aa544f00eefb08ed442d6f967203c1369f95a.tar.gz bcm5719-llvm-be7aa544f00eefb08ed442d6f967203c1369f95a.zip | |
Revert r272591, http://lab.llvm.org:8011/builders/clang-x64-ninja-win7 has been broken since this landed.
llvm-svn: 272659
Diffstat (limited to 'compiler-rt/lib/esan/working_set.cpp')
| -rw-r--r-- | compiler-rt/lib/esan/working_set.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler-rt/lib/esan/working_set.cpp b/compiler-rt/lib/esan/working_set.cpp index 622fd29e846..9e7520f492e 100644 --- a/compiler-rt/lib/esan/working_set.cpp +++ b/compiler-rt/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]); |

