tsan_platform_windows.cpp revision 360784
1709Swollman//===-- tsan_platform_windows.cpp -----------------------------------------===//
219314Speter//
3709Swollman// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
437Srgrimes// See https://llvm.org/LICENSE.txt for license information.
537Srgrimes// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
637Srgrimes//
737Srgrimes//===----------------------------------------------------------------------===//
837Srgrimes//
937Srgrimes// This file is a part of ThreadSanitizer (TSan), a race detector.
108460Sjkh//
118460Sjkh// Windows-specific code.
128460Sjkh//===----------------------------------------------------------------------===//
138460Sjkh
1437Srgrimes#include "sanitizer_common/sanitizer_platform.h"
1537Srgrimes#if SANITIZER_WINDOWS
1637Srgrimes
1737Srgrimes#include "tsan_platform.h"
1837Srgrimes
1937Srgrimes#include <stdlib.h>
2037Srgrimes
2137Srgrimesnamespace __tsan {
2237Srgrimes
2337Srgrimesvoid FlushShadowMemory() {
2437Srgrimes}
2515568Sasami
2615568Sasamivoid WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) {
2715568Sasami}
2815568Sasami
2915568Sasamivoid InitializePlatformEarly() {
3015568Sasami}
313843Sdg
323843Sdgvoid InitializePlatform() {
332164Sdg}
3437Srgrimes
3537Srgrimes}  // namespace __tsan
3637Srgrimes
3737Srgrimes#endif  // SANITIZER_WINDOWS
3837Srgrimes