tsan: fix darwin Go build

llvm-svn: 183402
This commit is contained in:
Dmitry Vyukov 2013-06-06 13:00:32 +00:00
parent c05aba7eaa
commit c9e304afbd
2 changed files with 5 additions and 0 deletions

View File

@ -343,6 +343,10 @@ void BlockingMutex::CheckLocked() {
CHECK_EQ((uptr)pthread_self(), owner_);
}
u64 NanoTime() {
return 0;
}
uptr GetTlsSize() {
return 0;
}

View File

@ -42,6 +42,7 @@ elif [ "`uname -a | grep Darwin`" != "" ]; then
../rtl/tsan_platform_mac.cc
../../sanitizer_common/sanitizer_posix.cc
../../sanitizer_common/sanitizer_mac.cc
../../sanitizer_common/sanitizer_posix_libcdep.cc
"
elif [ "`uname -a | grep MINGW`" != "" ]; then
SUFFIX="windows_amd64"