forked from OSchip/llvm-project
[asan] disable CovDump on Windows for now (fails to compile)
llvm-svn: 194703
This commit is contained in:
parent
91c52d9552
commit
599f0c1309
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue