blob: cfbe77da2c0751fa48f026e05513ad94ac6fd42a [file] [log] [blame]
Dmitry Vyukov17192a72012-11-06 13:35:02 +00001//===-- tsan_platform_windows.cc ------------------------------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file is a part of ThreadSanitizer (TSan), a race detector.
11//
12// Windows-specific code.
13//===----------------------------------------------------------------------===//
14
Evgeniy Stepanov24e13722013-03-19 14:33:38 +000015#include "sanitizer_common/sanitizer_platform.h"
Evgeniy Stepanov30e110e2013-03-19 14:54:17 +000016#if SANITIZER_WINDOWS
Dmitry Vyukov17192a72012-11-06 13:35:02 +000017
18#include "tsan_platform.h"
19
20#include <stdlib.h>
21
22namespace __tsan {
23
Dmitry Vyukov17192a72012-11-06 13:35:02 +000024uptr GetShadowMemoryConsumption() {
25 return 0;
26}
27
28void FlushShadowMemory() {
29}
30
Stephen Hines6a211c52014-07-21 00:49:56 -070031void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) {
Stephen Hines2d1fdb22014-05-28 23:58:16 -070032}
33
Stephen Hines6d186232014-11-26 17:56:19 -080034void InitializePlatform() {
Dmitry Vyukov17192a72012-11-06 13:35:02 +000035}
36
Dmitry Vyukov17192a72012-11-06 13:35:02 +000037} // namespace __tsan
38
Evgeniy Stepanov30e110e2013-03-19 14:54:17 +000039#endif // SANITIZER_WINDOWS