2012-11-06 21:35:02 +08:00
|
|
|
//===-- tsan_platform_windows.cc ------------------------------------------===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file is a part of ThreadSanitizer (TSan), a race detector.
|
|
|
|
//
|
|
|
|
// Windows-specific code.
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2013-03-19 22:33:38 +08:00
|
|
|
#include "sanitizer_common/sanitizer_platform.h"
|
2013-03-19 22:54:17 +08:00
|
|
|
#if SANITIZER_WINDOWS
|
2012-11-06 21:35:02 +08:00
|
|
|
|
|
|
|
#include "tsan_platform.h"
|
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
namespace __tsan {
|
|
|
|
|
2014-02-05 01:29:44 +08:00
|
|
|
void FlushShadowMemory() {
|
2012-11-06 21:35:02 +08:00
|
|
|
}
|
|
|
|
|
2014-05-29 22:11:38 +08:00
|
|
|
void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) {
|
2012-11-06 21:35:02 +08:00
|
|
|
}
|
|
|
|
|
2015-11-26 21:10:47 +08:00
|
|
|
void InitializePlatformEarly() {
|
|
|
|
}
|
|
|
|
|
2014-08-16 03:53:51 +08:00
|
|
|
void InitializePlatform() {
|
2012-11-06 21:35:02 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace __tsan
|
|
|
|
|
2013-03-19 22:54:17 +08:00
|
|
|
#endif // SANITIZER_WINDOWS
|