2019-08-14 10:47:11 +02:00
|
|
|
//===-- tsan_platform_windows.cpp -----------------------------------------===//
|
2012-11-23 14:46:25 +00:00
|
|
|
//
|
2019-08-14 10:47:11 +02:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2012-11-23 14:46:25 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file is a part of ThreadSanitizer (TSan), a race detector.
|
|
|
|
//
|
|
|
|
// Windows-specific code.
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2013-11-04 21:33:31 +00:00
|
|
|
#include "sanitizer_common/sanitizer_platform.h"
|
|
|
|
#if SANITIZER_WINDOWS
|
2012-11-23 14:46:25 +00:00
|
|
|
|
|
|
|
#include "tsan_platform.h"
|
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
namespace __tsan {
|
|
|
|
|
2021-09-27 10:43:33 -07:00
|
|
|
void WriteMemoryProfile(char *buf, uptr buf_size, u64 uptime_ns) {}
|
2012-11-23 14:46:25 +00:00
|
|
|
|
2016-11-08 22:04:09 +00:00
|
|
|
void InitializePlatformEarly() {
|
|
|
|
}
|
|
|
|
|
2014-09-23 17:59:53 +00:00
|
|
|
void InitializePlatform() {
|
2012-11-23 14:46:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace __tsan
|
|
|
|
|
2013-11-04 21:33:31 +00:00
|
|
|
#endif // SANITIZER_WINDOWS
|