tsan_platform_windows.cc 881 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //===-- tsan_platform_windows.cc ------------------------------------------===//
  2. //
  3. // This file is distributed under the University of Illinois Open Source
  4. // License. See LICENSE.TXT for details.
  5. //
  6. //===----------------------------------------------------------------------===//
  7. //
  8. // This file is a part of ThreadSanitizer (TSan), a race detector.
  9. //
  10. // Windows-specific code.
  11. //===----------------------------------------------------------------------===//
  12. #include "sanitizer_common/sanitizer_platform.h"
  13. #if SANITIZER_WINDOWS
  14. #include "tsan_platform.h"
  15. #include <stdlib.h>
  16. namespace __tsan {
  17. uptr GetShadowMemoryConsumption() {
  18. return 0;
  19. }
  20. void FlushShadowMemory() {
  21. }
  22. void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) {
  23. }
  24. uptr GetRSS() {
  25. return 0;
  26. }
  27. void InitializePlatform() {
  28. }
  29. } // namespace __tsan
  30. #endif // SANITIZER_WINDOWS