1245614Sandrew//===-- tsan_platform_windows.cc ------------------------------------------===// 2245614Sandrew// 3245614Sandrew// The LLVM Compiler Infrastructure 4245614Sandrew// 5245614Sandrew// This file is distributed under the University of Illinois Open Source 6245614Sandrew// License. See LICENSE.TXT for details. 7245614Sandrew// 8245614Sandrew//===----------------------------------------------------------------------===// 9245614Sandrew// 10245614Sandrew// This file is a part of ThreadSanitizer (TSan), a race detector. 11245614Sandrew// 12245614Sandrew// Windows-specific code. 13245614Sandrew//===----------------------------------------------------------------------===// 14245614Sandrew 15251034Sed#include "sanitizer_common/sanitizer_platform.h" 16251034Sed#if SANITIZER_WINDOWS 17245614Sandrew 18245614Sandrew#include "tsan_platform.h" 19245614Sandrew 20245614Sandrew#include <stdlib.h> 21245614Sandrew 22245614Sandrewnamespace __tsan { 23245614Sandrew 24245614Sandrewuptr GetShadowMemoryConsumption() { 25245614Sandrew return 0; 26245614Sandrew} 27245614Sandrew 28245614Sandrewvoid FlushShadowMemory() { 29245614Sandrew} 30245614Sandrew 31276789Sdimvoid WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) { 32245614Sandrew} 33245614Sandrew 34296417Sdimvoid InitializePlatformEarly() { 35296417Sdim} 36296417Sdim 37276789Sdimvoid InitializePlatform() { 38245614Sandrew} 39245614Sandrew 40245614Sandrew} // namespace __tsan 41245614Sandrew 42251034Sed#endif // SANITIZER_WINDOWS 43