[tsan] use our own GetEnv instead of libc's getenv

llvm-svn: 175498
This commit is contained in:
Kostya Serebryany 2013-02-19 08:19:13 +00:00
parent f371e89264
commit 3e62fe8c23
3 changed files with 3 additions and 3 deletions

View File

@ -243,7 +243,7 @@ const char *InitializePlatform() {
g_tls_size = (uptr)InitTlsSize();
InitDataSeg();
#endif
return getenv(kTsanOptionsEnv);
return GetEnv(kTsanOptionsEnv);
}
void FinalizePlatform() {

View File

@ -82,7 +82,7 @@ const char *InitializePlatform() {
setrlimit(RLIMIT_CORE, (rlimit*)&lim);
}
return getenv(kTsanOptionsEnv);
return GetEnv(kTsanOptionsEnv);
}
void FinalizePlatform() {

View File

@ -34,7 +34,7 @@ void FlushShadowMemory() {
}
const char *InitializePlatform() {
return getenv(kTsanOptionsEnv);
return GetEnv(kTsanOptionsEnv);
}
void FinalizePlatform() {