[compiler-rt] r194703 - [asan] disable CovDump on Windows for now (fails to compile)
Kostya Serebryany
kcc at google.com
Thu Nov 14 05:37:54 PST 2013
Author: kcc
Date: Thu Nov 14 07:37:54 2013
New Revision: 194703
URL: http://llvm.org/viewvc/llvm-project?rev=194703&view=rev
Log:
[asan] disable CovDump on Windows for now (fails to compile)
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_coverage.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_coverage.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_coverage.cc?rev=194703&r1=194702&r2=194703&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_coverage.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_coverage.cc Thu Nov 14 07:37:54 2013
@@ -63,6 +63,7 @@ static inline bool CompareLess(const upt
// 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
More information about the llvm-commits
mailing list