[sanitizer] Fix build breakage in Go TSan.

llvm-svn: 181428
This commit is contained in:
Sergey Matveev 2013-05-08 13:59:30 +00:00
parent e43f0fea15
commit 0d8cc4a2d2
1 changed files with 2 additions and 0 deletions

View File

@ -229,6 +229,7 @@ int internal_isatty(fd_t fd) {
return isatty(fd);
}
#ifndef SANITIZER_GO
void GetStackTrace(StackTrace *stack, uptr max_s, uptr pc, uptr bp,
uptr stack_top, uptr stack_bottom, bool fast) {
#if !SANITIZER_CAN_FAST_UNWIND
@ -248,6 +249,7 @@ void GetStackTrace(StackTrace *stack, uptr max_s, uptr pc, uptr bp,
stack->FastUnwindStack(pc, bp, stack_top, stack_bottom);
}
}
#endif // SANITIZER_GO
} // namespace __sanitizer