tsan: fix build

llvm-svn: 170191
This commit is contained in:
Dmitry Vyukov 2012-12-14 12:24:11 +00:00
parent 7dfb168eb8
commit 5b375d84c0
1 changed files with 3 additions and 0 deletions

View File

@ -380,6 +380,7 @@ bool SanitizerGetThreadName(char *name, int max_len) {
return true;
}
#ifndef SANITIZER_GO
//------------------------- SlowUnwindStack -----------------------------------
#ifdef __arm__
#define UNWIND_STOP _URC_END_OF_STACK
@ -431,6 +432,8 @@ void StackTrace::SlowUnwindStack(uptr pc, uptr max_depth) {
this->trace[0] = pc;
}
#endif // #ifndef SANITIZER_GO
} // namespace __sanitizer
#endif // __linux__