[AArch64 costs] Fixup to costing of FNMUL
[official-gcc.git] / libsanitizer / tsan / tsan_platform_windows.cc
blob6e49ef42f0c015b1220c660130023bed30e482f2
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 ScopedInRtl::ScopedInRtl() {
25 ScopedInRtl::~ScopedInRtl() {
28 uptr GetShadowMemoryConsumption() {
29 return 0;
32 void FlushShadowMemory() {
35 const char *InitializePlatform() {
36 return GetEnv(kTsanOptionsEnv);
39 void FinalizePlatform() {
40 fflush(0);
43 } // namespace __tsan
45 #endif // SANITIZER_WINDOWS