tsan_platform_windows.cpp 880 B

123456789101112131415161718192021222324252627282930313233
  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 WriteMemoryProfile(char *buf, uptr buf_size, u64 uptime_ns) {}
  19. void InitializePlatformEarly() {
  20. }
  21. void InitializePlatform() {
  22. }
  23. } // namespace __tsan
  24. #endif // SANITIZER_WINDOWS