[RS6000] PR97107, libgo fails to build for power10
[official-gcc.git] / libsanitizer / tsan / tsan_platform_windows.cpp
blob19437879a41cb245fabdb243eb58b330f42253ed
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.
11 // Windows-specific code.
12 //===----------------------------------------------------------------------===//
14 #include "sanitizer_common/sanitizer_platform.h"
15 #if SANITIZER_WINDOWS
17 #include "tsan_platform.h"
19 #include <stdlib.h>
21 namespace __tsan {
23 void FlushShadowMemory() {
26 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) {
29 void InitializePlatformEarly() {
32 void InitializePlatform() {
35 } // namespace __tsan
37 #endif // SANITIZER_WINDOWS