1 //===-- tsan_platform_windows.cc ------------------------------------------===//
3 // This file is distributed under the University of Illinois Open Source
4 // License. See LICENSE.TXT for details.
6 //===----------------------------------------------------------------------===//
8 // This file is a part of ThreadSanitizer (TSan), a race detector.
10 // Windows-specific code.
11 //===----------------------------------------------------------------------===//
13 #include "sanitizer_common/sanitizer_platform.h"
16 #include "tsan_platform.h"
22 ScopedInRtl::ScopedInRtl() {
25 ScopedInRtl::~ScopedInRtl() {
28 uptr
GetShadowMemoryConsumption() {
32 void FlushShadowMemory() {
35 const char *InitializePlatform() {
36 return GetEnv(kTsanOptionsEnv
);
39 void FinalizePlatform() {
45 #endif // SANITIZER_WINDOWS