[asan] disable CovDump on Windows for now (fails to compile)

llvm-svn: 194703
This commit is contained in:
Kostya Serebryany 2013-11-14 13:37:54 +00:00
parent 91c52d9552
commit 599f0c1309
1 changed files with 2 additions and 0 deletions

View File

@ -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