PR target/37072
[official-gcc.git] / libsanitizer / tsan / tsan_platform_windows.cc
blob3f81c54e3ebe8827955563b399848ea1915a67f7
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 uptr GetRSS() {
33 return 0;
36 void InitializePlatform() {
39 } // namespace __tsan
41 #endif // SANITIZER_WINDOWS