tsan: always strip bottom frame in Go reports

llvm-svn: 183408
This commit is contained in:
Dmitry Vyukov 2013-06-06 13:31:35 +00:00
parent e3bf521b7c
commit 5fe8a4f88f
1 changed files with 3 additions and 2 deletions

View File

@ -95,8 +95,9 @@ static void StackStripMain(ReportStack *stack) {
DPrintf("Bottom stack frame of stack %zx is missed\n", stack->pc);
}
#else
if (last && 0 == internal_strcmp(last, "schedunlock"))
last_frame2->next = 0;
// The last frame always point into runtime (gosched0, goexit0, runtime.main).
last_frame2->next = 0;
(void)last;
#endif
}