2016-08-31 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / libsanitizer / tsan / tsan_platform_windows.cc
blobccea22ed66e30c57320e2f1183b61078715cb503
1 //===-- tsan_platform_windows.cc ------------------------------------------===//
2 //
3 // This file is distributed under the University of Illinois Open Source
4 // License. See LICENSE.TXT for details.
5 //
6 //===----------------------------------------------------------------------===//
7 //
8 // This file is a part of ThreadSanitizer (TSan), a race detector.
9 //
10 // Windows-specific code.
11 //===----------------------------------------------------------------------===//
13 #include "sanitizer_common/sanitizer_platform.h"
14 #if SANITIZER_WINDOWS
16 #include "tsan_platform.h"
18 #include <stdlib.h>
20 namespace __tsan {
22 uptr GetShadowMemoryConsumption() {
23 return 0;
26 void FlushShadowMemory() {
29 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) {
32 void InitializePlatform() {
35 } // namespace __tsan
37 #endif // SANITIZER_WINDOWS