diff options
author | Dan Albert <danalbert@google.com> | 2015-10-13 16:28:19 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2015-10-13 16:28:19 -0700 |
commit | a8c075f72b231c37823661ba0d7d082a21cd39d9 (patch) | |
tree | 395aa3b848d56037292e50466643453485073018 /gcc-4.8/libsanitizer/tsan/tsan_platform_windows.cc | |
parent | 5aff2e0142aca13849b4e51de503e71d5010efa6 (diff) | |
download | toolchain_gcc-a8c075f72b231c37823661ba0d7d082a21cd39d9.tar.gz toolchain_gcc-a8c075f72b231c37823661ba0d7d082a21cd39d9.tar.bz2 toolchain_gcc-a8c075f72b231c37823661ba0d7d082a21cd39d9.zip |
Remove gcc-4.8.
Change-Id: Iee9c6985c613f58c82e33a91722d371579eb290f
Diffstat (limited to 'gcc-4.8/libsanitizer/tsan/tsan_platform_windows.cc')
-rw-r--r-- | gcc-4.8/libsanitizer/tsan/tsan_platform_windows.cc | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/gcc-4.8/libsanitizer/tsan/tsan_platform_windows.cc b/gcc-4.8/libsanitizer/tsan/tsan_platform_windows.cc deleted file mode 100644 index 376dc0868..000000000 --- a/gcc-4.8/libsanitizer/tsan/tsan_platform_windows.cc +++ /dev/null @@ -1,56 +0,0 @@ -//===-- tsan_platform_windows.cc ------------------------------------------===// -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// This file is a part of ThreadSanitizer (TSan), a race detector. -// -// Windows-specific code. -//===----------------------------------------------------------------------===// - -#ifdef _WIN32 - -#include "tsan_platform.h" - -#include <stdlib.h> - -namespace __tsan { - -ScopedInRtl::ScopedInRtl() { -} - -ScopedInRtl::~ScopedInRtl() { -} - -uptr GetShadowMemoryConsumption() { - return 0; -} - -void FlushShadowMemory() { -} - -const char *InitializePlatform() { - return GetEnv(kTsanOptionsEnv); -} - -void FinalizePlatform() { - fflush(0); -} - -uptr GetTlsSize() { - return 0; -} - -void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size, - uptr *tls_addr, uptr *tls_size) { - *stk_addr = 0; - *stk_size = 0; - *tls_addr = 0; - *tls_size = 0; -} - -} // namespace __tsan - -#endif // #ifdef _WIN32 |