Debian Codegraph @

libsanitizer/tsan/tsan_platform_windows.cpp

raw
1 //===-- tsan_platform_windows.cpp -----------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file is a part of ThreadSanitizer (TSan), a race detector.
10 //
11 // Windows-specific code.
12 //===----------------------------------------------------------------------===//
13
14 #include "sanitizer_common/sanitizer_platform.h"
15 #if SANITIZER_WINDOWS
16
17 #include "tsan_platform.h"
18
19 #include <stdlib.h>
20
21 namespace __tsan {
22
23 void WriteMemoryProfile(char *buf, uptr buf_size, u64 uptime_ns) {}
24
25 void InitializePlatformEarly() {
26 }
27
28 void InitializePlatform() {
29 }
30
31 } // namespace __tsan
32
33 #endif // SANITIZER_WINDOWS