tsan: fix darwin Go build

llvm-svn: 200755
This commit is contained in:
Dmitry Vyukov 2014-02-04 11:29:09 +00:00
parent c6af350698
commit 2e1634b69f
1 changed files with 7 additions and 6 deletions

View File

@ -40,12 +40,6 @@
namespace __tsan {
ScopedInRtl::ScopedInRtl() {
}
ScopedInRtl::~ScopedInRtl() {
}
uptr GetShadowMemoryConsumption() {
return 0;
}
@ -53,6 +47,13 @@ uptr GetShadowMemoryConsumption() {
void FlushShadowMemory() {
}
void WriteMemoryProfile(char *buf, uptr buf_size) {
}
uptr GetRSS() {
return 0;
}
#ifndef TSAN_GO
void InitializeShadowMemory() {
uptr shadow = (uptr)MmapFixedNoReserve(kLinuxShadowBeg,