diff options
author | Kostya Serebryany <kcc@google.com> | 2013-11-14 13:37:54 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2013-11-14 13:37:54 +0000 |
commit | 9ae2ca693a89c4f5c7e67788038ea84c328b8b1b (patch) | |
tree | 0e98aa4d243deddfb01aef9bf48fe618101ffb28 | |
parent | 68e16eb59c7f654cdb98a2811b3a42612b58a735 (diff) | |
download | compiler-rt-9ae2ca693a89c4f5c7e67788038ea84c328b8b1b.tar.gz |
[asan] disable CovDump on Windows for now (fails to compile)
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194703 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/sanitizer_common/sanitizer_coverage.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_coverage.cc b/lib/sanitizer_common/sanitizer_coverage.cc index c5338e9c6..68643b112 100644 --- a/lib/sanitizer_common/sanitizer_coverage.cc +++ b/lib/sanitizer_common/sanitizer_coverage.cc @@ -63,6 +63,7 @@ static inline bool CompareLess(const uptr &a, const uptr &b) { // Dump the coverage on disk. void CovDump() { +#if !SANITIZER_WINDOWS BlockingMutexLock lock(&cov_data->mu); InternalMmapVector<uptr> &v = cov_data->v; InternalSort(&v, v.size(), CompareLess); @@ -99,6 +100,7 @@ void CovDump() { Report(" CovDump: %s: %zd PCs written\n", path.data(), vb - old_vb); } } +#endif // !SANITIZER_WINDOWS } } // namespace __sanitizer |