forked from OSchip/llvm-project
tsan: always strip bottom frame in Go reports
llvm-svn: 183408
This commit is contained in:
parent
e3bf521b7c
commit
5fe8a4f88f
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue