tsan: fix windows build

llvm-svn: 200779
This commit is contained in:
Dmitry Vyukov 2014-02-04 17:29:44 +00:00
parent a538aac8ce
commit a61c2b0bd5
1 changed files with 7 additions and 6 deletions

View File

@ -21,12 +21,6 @@
namespace __tsan { namespace __tsan {
ScopedInRtl::ScopedInRtl() {
}
ScopedInRtl::~ScopedInRtl() {
}
uptr GetShadowMemoryConsumption() { uptr GetShadowMemoryConsumption() {
return 0; return 0;
} }
@ -34,6 +28,13 @@ uptr GetShadowMemoryConsumption() {
void FlushShadowMemory() { void FlushShadowMemory() {
} }
void WriteMemoryProfile(char *buf, uptr buf_size) {
}
uptr GetRSS() {
return 0;
}
const char *InitializePlatform() { const char *InitializePlatform() {
return GetEnv(kTsanOptionsEnv); return GetEnv(kTsanOptionsEnv);
} }