]> git.proxmox.com Git - rustc.git/blame - src/compiler-rt/lib/tsan/rtl/tsan_platform_windows.cc
Imported Upstream version 1.6.0+dfsg1
[rustc.git] / src / compiler-rt / lib / tsan / rtl / tsan_platform_windows.cc
CommitLineData
1a4d82fc
JJ
1//===-- tsan_platform_windows.cc ------------------------------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file is a part of ThreadSanitizer (TSan), a race detector.
11//
12// Windows-specific code.
13//===----------------------------------------------------------------------===//
14
15#include "sanitizer_common/sanitizer_platform.h"
16#if SANITIZER_WINDOWS
17
18#include "tsan_platform.h"
19
20#include <stdlib.h>
21
22namespace __tsan {
23
24uptr GetShadowMemoryConsumption() {
25 return 0;
26}
27
28void FlushShadowMemory() {
29}
30
92a42be0 31void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) {
1a4d82fc
JJ
32}
33
92a42be0 34void InitializePlatform() {
1a4d82fc
JJ
35}
36
37} // namespace __tsan
38
39#endif // SANITIZER_WINDOWS