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