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 FlushShadowMemory()23void FlushShadowMemory() { 24 } 25 WriteMemoryProfile(char * buf,uptr buf_size,u64 uptime_ns)26void WriteMemoryProfile(char *buf, uptr buf_size, u64 uptime_ns) {} 27 InitializePlatformEarly()28void InitializePlatformEarly() { 29 } 30 InitializePlatform()31void InitializePlatform() { 32 } 33 34 } // namespace __tsan 35 36 #endif // SANITIZER_WINDOWS 37