tsan_platform_windows.cpp 910 B

123456789101112131415161718192021222324252627282930313233343536
  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. #include "sanitizer_common/sanitizer_platform.h"
  14. #if SANITIZER_WINDOWS
  15. #include "tsan_platform.h"
  16. #include <stdlib.h>
  17. namespace __tsan {
  18. void FlushShadowMemory() {
  19. }
  20. void WriteMemoryProfile(char *buf, uptr buf_size, u64 uptime_ns) {}
  21. void InitializePlatformEarly() {
  22. }
  23. void InitializePlatform() {
  24. }
  25. } // namespace __tsan
  26. #endif // SANITIZER_WINDOWS